- All Superinterfaces:
AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccountSubscribe(software.sava.core.accounts.PublicKey key, Consumer<AccountInfo<byte[]>> consumer) default booleanaccountSubscribe(software.sava.core.accounts.PublicKey key, Consumer<Subscription<AccountInfo<byte[]>>> onSub, Consumer<AccountInfo<byte[]>> consumer) default booleanaccountSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey key, Consumer<AccountInfo<byte[]>> consumer) booleanaccountSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey key, Consumer<Subscription<AccountInfo<byte[]>>> onSub, Consumer<AccountInfo<byte[]>> consumer) booleanaccountUnsubscribe(software.sava.core.accounts.PublicKey key) booleanaccountUnsubscribe(Commitment commitment, software.sava.core.accounts.PublicKey key) static SolanaRpcWebsocket.Builderbuild()voidclose()booleanclosed()connect()endpoint()voidexceptionSubscribe(Consumer<RuntimeException> consumer) booleanlogsSubscribe(software.sava.core.accounts.PublicKey key, Consumer<TxLogs> consumer) default booleanlogsSubscribe(software.sava.core.accounts.PublicKey key, Consumer<Subscription<TxLogs>> onSub, Consumer<TxLogs> consumer) default booleanlogsSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey key, Consumer<TxLogs> consumer) booleanlogsSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey key, Consumer<Subscription<TxLogs>> onSub, Consumer<TxLogs> consumer) booleanlogsUnsubscribe(software.sava.core.accounts.PublicKey key) booleanlogsUnsubscribe(Commitment commitment, software.sava.core.accounts.PublicKey key) booleanprogramSubscribe(software.sava.core.accounts.PublicKey program, Consumer<AccountInfo<byte[]>> consumer) default booleanprogramSubscribe(software.sava.core.accounts.PublicKey program, Consumer<Subscription<AccountInfo<byte[]>>> onSub, Consumer<AccountInfo<byte[]>> consumer) booleanprogramSubscribe(software.sava.core.accounts.PublicKey program, List<software.sava.core.rpc.Filter> filters, Consumer<AccountInfo<byte[]>> consumer) default booleanprogramSubscribe(software.sava.core.accounts.PublicKey program, List<software.sava.core.rpc.Filter> filters, Consumer<Subscription<AccountInfo<byte[]>>> onSub, Consumer<AccountInfo<byte[]>> consumer) default booleanprogramSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey program, List<software.sava.core.rpc.Filter> filters, Consumer<AccountInfo<byte[]>> consumer) booleanprogramSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey program, List<software.sava.core.rpc.Filter> filters, Consumer<Subscription<AccountInfo<byte[]>>> onSub, Consumer<AccountInfo<byte[]>> consumer) booleanprogramUnsubscribe(software.sava.core.accounts.PublicKey program) booleanprogramUnsubscribe(Commitment commitment, software.sava.core.accounts.PublicKey program) booleansignatureSubscribe(String b58TxSig, boolean enableReceivedNotification, Consumer<TxResult> consumer) default booleansignatureSubscribe(String b58TxSig, boolean enableReceivedNotification, Consumer<Subscription<TxResult>> onSub, Consumer<TxResult> consumer) booleansignatureSubscribe(String b58TxSig, Consumer<TxResult> consumer) default booleansignatureSubscribe(String b58TxSig, Consumer<Subscription<TxResult>> onSub, Consumer<TxResult> consumer) default booleansignatureSubscribe(Commitment commitment, boolean enableReceivedNotification, String b58TxSig, Consumer<TxResult> consumer) booleansignatureSubscribe(Commitment commitment, boolean enableReceivedNotification, String b58TxSig, Consumer<Subscription<TxResult>> onSub, Consumer<TxResult> consumer) default booleansignatureSubscribe(Commitment commitment, String b58TxSig, Consumer<TxResult> consumer) default booleansignatureSubscribe(Commitment commitment, String b58TxSig, Consumer<Subscription<TxResult>> onSub, Consumer<TxResult> consumer) booleansignatureUnsubscribe(String b58TxSig) booleansignatureUnsubscribe(Commitment commitment, String b58TxSig) default booleanslotSubscribe(Consumer<ProcessedSlot> consumer) booleanslotSubscribe(Consumer<Subscription<ProcessedSlot>> onSub, Consumer<ProcessedSlot> consumer) booleansoftware.sava.core.accounts.SolanaAccountsbooleansubscribeToTokenAccount(software.sava.core.accounts.PublicKey tokenMint, software.sava.core.accounts.PublicKey ownerAddress, Consumer<AccountInfo<byte[]>> consumer) booleansubscribeToTokenAccount(Commitment commitment, software.sava.core.accounts.PublicKey tokenMint, software.sava.core.accounts.PublicKey ownerAddress, Consumer<AccountInfo<byte[]>> consumer) booleansubscribeToTokenAccounts(software.sava.core.accounts.PublicKey ownerAddress, Consumer<AccountInfo<byte[]>> consumer) booleansubscribeToTokenAccounts(Commitment commitment, software.sava.core.accounts.PublicKey ownerAddress, Consumer<AccountInfo<byte[]>> consumer) timings()
-
Method Details
-
build
-
endpoint
URI endpoint() -
solanaAccounts
software.sava.core.accounts.SolanaAccounts solanaAccounts() -
defaultCommitment
Commitment defaultCommitment() -
timings
Timings timings() -
closed
boolean closed() -
connect
CompletableFuture<?> connect() -
exceptionSubscribe
-
accountSubscribe
boolean accountSubscribe(software.sava.core.accounts.PublicKey key, Consumer<AccountInfo<byte[]>> consumer) -
accountSubscribe
default boolean accountSubscribe(software.sava.core.accounts.PublicKey key, Consumer<Subscription<AccountInfo<byte[]>>> onSub, Consumer<AccountInfo<byte[]>> consumer) -
accountSubscribe
default boolean accountSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey key, Consumer<AccountInfo<byte[]>> consumer) -
accountSubscribe
boolean accountSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey key, Consumer<Subscription<AccountInfo<byte[]>>> onSub, Consumer<AccountInfo<byte[]>> consumer) -
accountUnsubscribe
boolean accountUnsubscribe(software.sava.core.accounts.PublicKey key) -
accountUnsubscribe
-
logsSubscribe
-
logsSubscribe
default boolean logsSubscribe(software.sava.core.accounts.PublicKey key, Consumer<Subscription<TxLogs>> onSub, Consumer<TxLogs> consumer) -
logsSubscribe
default boolean logsSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey key, Consumer<TxLogs> consumer) -
logsSubscribe
boolean logsSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey key, Consumer<Subscription<TxLogs>> onSub, Consumer<TxLogs> consumer) -
logsUnsubscribe
boolean logsUnsubscribe(software.sava.core.accounts.PublicKey key) -
logsUnsubscribe
-
signatureSubscribe
-
signatureSubscribe
-
signatureSubscribe
default boolean signatureSubscribe(Commitment commitment, String b58TxSig, Consumer<TxResult> consumer) -
signatureSubscribe
default boolean signatureSubscribe(Commitment commitment, boolean enableReceivedNotification, String b58TxSig, Consumer<TxResult> consumer) -
signatureSubscribe
-
signatureSubscribe
-
signatureSubscribe
default boolean signatureSubscribe(Commitment commitment, String b58TxSig, Consumer<Subscription<TxResult>> onSub, Consumer<TxResult> consumer) -
signatureSubscribe
boolean signatureSubscribe(Commitment commitment, boolean enableReceivedNotification, String b58TxSig, Consumer<Subscription<TxResult>> onSub, Consumer<TxResult> consumer) -
signatureUnsubscribe
-
signatureUnsubscribe
-
subscribeToTokenAccount
boolean subscribeToTokenAccount(software.sava.core.accounts.PublicKey tokenMint, software.sava.core.accounts.PublicKey ownerAddress, Consumer<AccountInfo<byte[]>> consumer) -
subscribeToTokenAccount
boolean subscribeToTokenAccount(Commitment commitment, software.sava.core.accounts.PublicKey tokenMint, software.sava.core.accounts.PublicKey ownerAddress, Consumer<AccountInfo<byte[]>> consumer) -
subscribeToTokenAccounts
boolean subscribeToTokenAccounts(software.sava.core.accounts.PublicKey ownerAddress, Consumer<AccountInfo<byte[]>> consumer) -
subscribeToTokenAccounts
boolean subscribeToTokenAccounts(Commitment commitment, software.sava.core.accounts.PublicKey ownerAddress, Consumer<AccountInfo<byte[]>> consumer) -
programSubscribe
boolean programSubscribe(software.sava.core.accounts.PublicKey program, Consumer<AccountInfo<byte[]>> consumer) -
programSubscribe
boolean programSubscribe(software.sava.core.accounts.PublicKey program, List<software.sava.core.rpc.Filter> filters, Consumer<AccountInfo<byte[]>> consumer) -
programSubscribe
default boolean programSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey program, List<software.sava.core.rpc.Filter> filters, Consumer<AccountInfo<byte[]>> consumer) -
programSubscribe
default boolean programSubscribe(software.sava.core.accounts.PublicKey program, Consumer<Subscription<AccountInfo<byte[]>>> onSub, Consumer<AccountInfo<byte[]>> consumer) -
programSubscribe
default boolean programSubscribe(software.sava.core.accounts.PublicKey program, List<software.sava.core.rpc.Filter> filters, Consumer<Subscription<AccountInfo<byte[]>>> onSub, Consumer<AccountInfo<byte[]>> consumer) -
programSubscribe
boolean programSubscribe(Commitment commitment, software.sava.core.accounts.PublicKey program, List<software.sava.core.rpc.Filter> filters, Consumer<Subscription<AccountInfo<byte[]>>> onSub, Consumer<AccountInfo<byte[]>> consumer) -
programUnsubscribe
boolean programUnsubscribe(software.sava.core.accounts.PublicKey program) -
programUnsubscribe
-
slotSubscribe
-
slotSubscribe
boolean slotSubscribe(Consumer<Subscription<ProcessedSlot>> onSub, Consumer<ProcessedSlot> consumer) -
slotUnsubscribe
boolean slotUnsubscribe() -
close
void close()- Specified by:
closein interfaceAutoCloseable
-