A B C D F G I L M P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AccountInfo - Interface in com.lmax.solana4j.client.api
-
Represents the information of an account on the Solana blockchain.
- AccountInfo.AccountInfoData - Interface in com.lmax.solana4j.client.api
-
Represents account information data in a Solana transaction.
- AccountInfo.AccountInfoData.AccountInfoParsedData - Interface in com.lmax.solana4j.client.api
-
Represents parsed account information data within an account.
- addParam(String, Object) - Method in interface com.lmax.solana4j.client.api.SolanaClientOptionalParams
-
Adds an optional parameter to the request.
- addParam(String, Object) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClientOptionalParams
- apiVersion() - Method in interface com.lmax.solana4j.client.api.SolanaRpcResponse.Context
-
Returns the API version associated with this context.
B
- Blockhash - Interface in com.lmax.solana4j.client.api
-
Represents a blockhash on the Solana blockchain.
C
- com.lmax.solana4j.client - module com.lmax.solana4j.client
-
This module provides functionality for the communication with a Solana blockchain.
- com.lmax.solana4j.client - package com.lmax.solana4j.client
-
This package is the base package and is the entrypoint to the solana client library's APIs.
- com.lmax.solana4j.client.api - package com.lmax.solana4j.client.api
-
This package defines the solana client library's API.
- com.lmax.solana4j.client.jsonrpc - package com.lmax.solana4j.client.jsonrpc
-
This package exposes the solana client library's API.
- Commitment - Enum in com.lmax.solana4j.client.api
-
Represents the commitment level of a transaction or query on the Solana blockchain.
- commitmentNumerical() - Method in enum com.lmax.solana4j.client.api.Commitment
-
Returns the numerical representation of the commitment level.
- CONFIRMED - com.lmax.solana4j.client.api.Commitment
-
The "Confirmed" commitment level indicates that the transaction has been confirmed by a sufficient number of validators, but it is not fully finalized.
- create(HttpClient, String) - Static method in class com.lmax.solana4j.client.SolanaClient
-
Creates a new
SolanaApi
instance using the specified HTTP client and RPC URL.
D
- defaultOptionalParams() - Static method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClientOptionalParams
-
Creates and returns a default instance of
SolanaClientOptionalParams
as aMap
.
F
- FINALIZED - com.lmax.solana4j.client.api.Commitment
-
The "Finalized" commitment level indicates that the transaction has been fully finalized and incorporated into the Solana blockchain.
G
- getAccountIndex() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.TokenBalance
-
Returns the index of the account in the transaction or account list.
- getAccountInfo() - Method in interface com.lmax.solana4j.client.api.TokenAccount
-
Returns the account information associated with the token account.
- getAccountInfo(String) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the account information for the specified address.
- getAccountInfo(String) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getAccountInfo(String, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the account information for the specified address with optional parameters.
- getAccountInfo(String, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getAccountInfoEncoded() - Method in interface com.lmax.solana4j.client.api.AccountInfo.AccountInfoData
-
Returns the encoded account information.
- getAccountInfoParsed() - Method in interface com.lmax.solana4j.client.api.AccountInfo.AccountInfoData
-
Returns the parsed account information.
- getAccountKeys() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message
-
Returns a list of account keys used in the message.
- getAccounts() - Method in interface com.lmax.solana4j.client.api.Instruction
-
Returns a list of account indices involved in the instruction.
- getAccounts() - Method in interface com.lmax.solana4j.client.api.SimulateTransactionResponse
-
Retrieves the account information data resulting from the transaction simulation.
- getAmount() - Method in interface com.lmax.solana4j.client.api.TokenAmount
-
Returns the raw token amount as a string.
- getBalance(String) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the balance of an account in lamports.
- getBalance(String) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getBalance(String, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the balance of an account in lamports with optional parameters.
- getBalance(String, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getBlockhashBase58() - Method in interface com.lmax.solana4j.client.api.Blockhash
-
Returns the blockhash as a base58-encoded string.
- getBlockHeight() - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the current block height of the Solana blockchain.
- getBlockHeight() - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getBlockHeight(SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the current block height with optional parameters.
- getBlockHeight(SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getBlockTime() - Method in interface com.lmax.solana4j.client.api.SignatureForAddress
-
Retrieves the estimated production time of the block containing the transaction.
- getBlockTime() - Method in interface com.lmax.solana4j.client.api.TransactionResponse
-
Returns the block time when the transaction was confirmed.
- getCause() - Method in exception com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClientException
-
Returns the cause of this exception or
null
if the cause is nonexistent or unknown. - getCommission() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.Reward
-
Returns the commission percentage taken from the reward.
- getComputeUnitsConsumed() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns the number of compute units consumed during the transaction's execution.
- getConfirmations() - Method in interface com.lmax.solana4j.client.api.SignatureStatus
-
Returns the number of confirmations for the transaction.
- getConfirmationStatus() - Method in interface com.lmax.solana4j.client.api.SignatureForAddress
-
Retrieves the confirmation status of the transaction.
- getConfirmationStatus() - Method in interface com.lmax.solana4j.client.api.SignatureStatus
-
Returns the confirmation status of the transaction.
- getContext() - Method in interface com.lmax.solana4j.client.api.SolanaRpcResponse
-
Returns the context associated with the RPC response.
- getData() - Method in interface com.lmax.solana4j.client.api.AccountInfo
-
Retrieves the data associated with the account.
- getData() - Method in interface com.lmax.solana4j.client.api.Instruction
-
Returns the base58-encoded data associated with the instruction.
- getData() - Method in interface com.lmax.solana4j.client.api.SimulateTransactionResponse.Data
-
Retrieves the data returned by the instruction during the transaction simulation.
- getDecimals() - Method in interface com.lmax.solana4j.client.api.TokenAmount
-
Returns the number of decimal places for the token.
- getEncodedAccountKeys() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message.AccountKeys
-
Returns a list of base58-encoded account keys involved in the transaction.
- getEncodedTransactionData() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionData
-
Returns the encoded transaction data.
- getErr() - Method in interface com.lmax.solana4j.client.api.SignatureForAddress
-
Retrieves the error information associated with the transaction, if any.
- getErr() - Method in interface com.lmax.solana4j.client.api.SignatureStatus
-
Returns the error information, if any, for the transaction.
- getErr() - Method in interface com.lmax.solana4j.client.api.SimulateTransactionResponse
-
Retrieves the error information resulting from the transaction simulation, if any.
- getErr() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns any error information associated with the transaction.
- getError() - Method in interface com.lmax.solana4j.client.api.SolanaClientResponse
-
Retrieves the error details in case of a failed operation.
- getErrorCode() - Method in interface com.lmax.solana4j.client.api.SolanaClientResponse.SolanaClientError
-
Retrieves the error code associated with the failure.
- getErrorMessage() - Method in interface com.lmax.solana4j.client.api.SolanaClientResponse.SolanaClientError
-
Retrieves the error message providing details about the failure.
- getFee() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns the fee paid for processing the transaction.
- getHeader() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message
-
Returns the header of the message.
- getHealth() - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Returns the current health of the node.
- getHealth() - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getIndex() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.InnerInstruction
-
Returns the index of the inner instruction within the transaction.
- getInnerInstructions() - Method in interface com.lmax.solana4j.client.api.SimulateTransactionResponse
-
Retrieves the list of inner instructions executed during the transaction simulation.
- getInnerInstructions() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns a list of inner instructions executed within the transaction.
- getInstructionParsed() - Method in interface com.lmax.solana4j.client.api.Instruction
-
Returns a map representation of the parsed instruction data.
- getInstructions() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.InnerInstruction
-
Returns the list of instructions that are part of this inner instruction.
- getInstructions() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message
-
Returns the list of instructions that are part of the message.
- getKey() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message.AccountKeys.AccountKeyParsed
-
Returns the base58-encoded account key.
- getLamports() - Method in interface com.lmax.solana4j.client.api.AccountInfo
-
Returns the number of lamports in the account.
- getLamports() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.Reward
-
Returns the amount of lamports received as a reward.
- getLastValidBlockHeight() - Method in interface com.lmax.solana4j.client.api.Blockhash
-
Returns the last valid block height for the blockhash.
- getLatestBlockhash() - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the most recent blockhash.
- getLatestBlockhash() - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getLatestBlockhash(SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the most recent blockhash with optional parameters.
- getLatestBlockhash(SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getLoadedAddresses() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns the addresses that were loaded during the transaction.
- getLogMessages() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns the log messages generated during the transaction.
- getLogs() - Method in interface com.lmax.solana4j.client.api.SimulateTransactionResponse
-
Retrieves the list of log messages generated during the transaction simulation.
- getMemo() - Method in interface com.lmax.solana4j.client.api.SignatureForAddress
-
Retrieves the memo associated with the transaction.
- getMessage() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionData.TransactionDataParsed
-
Returns the message associated with the transaction.
- getMessage() - Method in exception com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClientException
-
Returns the detail message string of this exception.
- getMetadata() - Method in interface com.lmax.solana4j.client.api.TransactionResponse
-
Returns the metadata associated with the transaction.
- getMinimumBalanceForRentExemption(int) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the minimum balance required for rent exemption for an account of the given size.
- getMinimumBalanceForRentExemption(int) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getMinimumBalanceForRentExemption(int, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the minimum balance required for rent exemption for an account of the given size, with additional parameters to customize the request.
- getMinimumBalanceForRentExemption(int, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getMint() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.TokenBalance
-
Returns the mint of the token.
- getNumReadonlySignedAccounts() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message.Header
-
Returns the number of readonly signed accounts in the transaction.
- getNumReadonlyUnsignedAccounts() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message.Header
-
Returns the number of readonly unsigned accounts in the transaction.
- getNumRequiredSignatures() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message.Header
-
Returns the number of required signatures for the transaction.
- getOwner() - Method in interface com.lmax.solana4j.client.api.AccountInfo
-
Returns the public key of the account's owner.
- getOwner() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.TokenBalance
-
Returns the owner of the token account.
- getParams() - Method in interface com.lmax.solana4j.client.api.SolanaClientOptionalParams
-
Retrieves all the optional parameters as a map.
- getParams() - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClientOptionalParams
- getParsedAccountKeys() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message.AccountKeys
-
Returns a list of parsed account keys, each providing detailed information on the account's role in the transaction, including its source, signing status, and write permissions.
- getParsedData() - Method in interface com.lmax.solana4j.client.api.AccountInfo.AccountInfoData.AccountInfoParsedData
-
Returns a map representation of parsed data fields for the account.
- getParsedTransactionData() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionData
-
Returns the parsed core data of the transaction.
- getPostBalance() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.Reward
-
Returns the post-reward balance of the account.
- getPostBalances() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns a list of balances after the transaction was processed.
- getPostTokenBalances() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns a list of token balances after the transaction was processed.
- getPreBalances() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns a list of balances before the transaction was processed.
- getPreTokenBalances() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns a list of token balances before the transaction was processed.
- getProgram() - Method in interface com.lmax.solana4j.client.api.AccountInfo.AccountInfoData.AccountInfoParsedData
-
Returns the name or identifier of the program associated with the account.
- getProgram() - Method in interface com.lmax.solana4j.client.api.Instruction
-
Returns the name or identifier of the program responsible for executing the instruction.
- getProgramId() - Method in interface com.lmax.solana4j.client.api.Instruction
-
Returns the program ID associated with the instruction.
- getProgramId() - Method in interface com.lmax.solana4j.client.api.SimulateTransactionResponse.Data
-
Retrieves the program ID that generated the return data.
- getProgramId() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.TokenBalance
-
Returns the program ID managing the token.
- getProgramIdIndex() - Method in interface com.lmax.solana4j.client.api.Instruction
-
Returns the index of the program ID that is responsible for executing the instruction.
- getPubkey() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.Reward
-
Returns the public key of the account or validator receiving the reward.
- getPublicKey() - Method in interface com.lmax.solana4j.client.api.TokenAccount
-
Returns the public key of the token account.
- getReadonly() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.LoadedAddresses
-
Returns a list of read-only addresses loaded during the transaction.
- getRecentBlockhash() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message
-
Returns the recent blockhash for the message.
- getRentEpoch() - Method in interface com.lmax.solana4j.client.api.AccountInfo
-
Returns the rent epoch for the account.
- getReplacementBlockhash() - Method in interface com.lmax.solana4j.client.api.SimulateTransactionResponse
-
Retrieves the replacement blockhash used during the transaction simulation.
- getResponse() - Method in interface com.lmax.solana4j.client.api.SolanaClientResponse
-
Retrieves the response payload in case of a successful operation.
- getReturnData() - Method in interface com.lmax.solana4j.client.api.SimulateTransactionResponse
-
Retrieves the return data generated by an instruction during the transaction simulation.
- getRewards() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns a list of rewards distributed as part of the transaction.
- getRewardType() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.Reward
-
Returns the type of the reward.
- getSignature() - Method in interface com.lmax.solana4j.client.api.SignatureForAddress
-
Retrieves the base58-encoded signature of the transaction.
- getSignatures() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionData.TransactionDataParsed
-
Returns the list of signatures for the transaction.
- getSignaturesForAddress(String) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves a list of transaction signatures for a specified address.
- getSignaturesForAddress(String) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getSignaturesForAddress(String, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves a list of transaction signatures for a specified address with optional parameters.
- getSignaturesForAddress(String, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getSignatureStatuses(List<String>) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the statuses of one or more transaction signatures.
- getSignatureStatuses(List<String>) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getSignatureStatuses(List<String>, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the statuses of one or more transaction signatures with optional parameters.
- getSignatureStatuses(List<String>, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getSlot() - Method in interface com.lmax.solana4j.client.api.SignatureForAddress
-
Retrieves the slot number in which the transaction was confirmed.
- getSlot() - Method in interface com.lmax.solana4j.client.api.SignatureStatus
-
Returns the slot in which the transaction was processed.
- getSlot() - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the current slot number.
- getSlot() - Method in interface com.lmax.solana4j.client.api.SolanaRpcResponse.Context
-
Returns the slot number associated with this context.
- getSlot() - Method in interface com.lmax.solana4j.client.api.TransactionResponse
-
Returns the slot in which the transaction was confirmed.
- getSlot() - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getSlot(SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the current slot number with optional parameters.
- getSlot(SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getSource() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message.AccountKeys.AccountKeyParsed
-
Returns the source of the account key.
- getSpace() - Method in interface com.lmax.solana4j.client.api.AccountInfo.AccountInfoData.AccountInfoParsedData
-
Returns the allocated space for the account in bytes.
- getSpace() - Method in interface com.lmax.solana4j.client.api.AccountInfo
-
Returns the amount of space, in bytes, allocated to the account.
- getStackHeight() - Method in interface com.lmax.solana4j.client.api.Instruction
-
Returns the stack height at which this instruction operates, if applicable.
- getStatus() - Method in interface com.lmax.solana4j.client.api.SignatureStatus
-
Returns the status of the transaction as a key-value pair.
- getStatus() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata
-
Returns the transaction status, including the status type and message.
- getTokenAccountBalance(String) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the token account balance of an SPL token account.
- getTokenAccountBalance(String) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getTokenAccountBalance(String, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the token account balance of an SPL token account with optional parameters.
- getTokenAccountBalance(String, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getTokenAccountsByOwner(String, Map.Entry<String, String>) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves token accounts owned by a specific address, filtered by criteria.
- getTokenAccountsByOwner(String, Map.Entry<String, String>) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getTokenAccountsByOwner(String, Map.Entry<String, String>, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves token accounts owned by a specific address, filtered by criteria, with optional parameters.
- getTokenAccountsByOwner(String, Map.Entry<String, String>, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getTransaction(String) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the transaction response for a given transaction signature.
- getTransaction(String) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getTransaction(String, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Retrieves the transaction response for a given transaction signature with optional parameters.
- getTransaction(String, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- getTransactionData() - Method in interface com.lmax.solana4j.client.api.TransactionResponse
-
Returns the core transaction data and its encoding.
- getUiAmount() - Method in interface com.lmax.solana4j.client.api.TokenAmount
-
Returns the token amount as a float, adjusted for the token's decimals.
- getUiAmountString() - Method in interface com.lmax.solana4j.client.api.TokenAmount
-
Returns the token amount as a string, adjusted for the token's decimals.
- getUiTokenAmount() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.TokenBalance
-
Returns the user-friendly token amount.
- getUnitsConsumed() - Method in interface com.lmax.solana4j.client.api.SimulateTransactionResponse
-
Retrieves the number of compute units consumed during the transaction simulation.
- getValue() - Method in interface com.lmax.solana4j.client.api.SolanaRpcResponse
-
Returns the value of the RPC response.
- getVersion() - Method in interface com.lmax.solana4j.client.api.TransactionResponse
-
Returns the version of the transaction.
- getWritable() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.TransactionMetadata.LoadedAddresses
-
Returns a list of writable addresses loaded during the transaction.
I
- Instruction - Interface in com.lmax.solana4j.client.api
-
Represents an instruction in a Solana transaction.
- isExecutable() - Method in interface com.lmax.solana4j.client.api.AccountInfo
-
Indicates whether the account is marked as executable.
- isRecoverable() - Method in exception com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClientException
-
Indicates whether the error is recoverable.
- isSigner() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message.AccountKeys.AccountKeyParsed
-
Indicates whether the account key is a signer.
- isSuccess() - Method in interface com.lmax.solana4j.client.api.SolanaClientResponse
-
Indicates whether the operation was successful.
- isWritable() - Method in interface com.lmax.solana4j.client.api.TransactionResponse.Message.AccountKeys.AccountKeyParsed
-
Indicates whether the account associated with the key is writable.
L
- LOOKUPTABLE - com.lmax.solana4j.client.api.TransactionResponse.Message.AccountKeys.AccountKeyParsed.KeySource
-
The key originates from an address lookup table.
M
- minimumLedgerSlot() - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Returns the lowest slot that the node has information about in its ledger.
- minimumLedgerSlot() - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
P
- PROCESSED - com.lmax.solana4j.client.api.Commitment
-
The "Processed" commitment level indicates that the transaction has been processed, but it may not have been confirmed by a sufficient number of validators.
R
- requestAirdrop(String, long) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Requests an airdrop of lamports to the specified address.
- requestAirdrop(String, long) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- requestAirdrop(String, long, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Requests an airdrop of lamports to the specified address with optional parameters.
- requestAirdrop(String, long, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
S
- sendTransaction(String) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Sends a transaction to the Solana blockchain without optional parameters.
- sendTransaction(String) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- sendTransaction(String, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Sends a transaction to the Solana blockchain.
- sendTransaction(String, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- SignatureForAddress - Interface in com.lmax.solana4j.client.api
-
Represents a transaction signature associated with a specific address on the Solana blockchain.
- SignatureStatus - Interface in com.lmax.solana4j.client.api
-
Represents the status of a transaction signature on the Solana blockchain.
- simulateTransaction(String) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Simulates a transaction without broadcasting it to the Solana blockchain.
- simulateTransaction(String) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- simulateTransaction(String, SolanaClientOptionalParams) - Method in interface com.lmax.solana4j.client.api.SolanaApi
-
Simulates a transaction without broadcasting it to the Solana blockchain, with optional parameters.
- simulateTransaction(String, SolanaClientOptionalParams) - Method in class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
- SimulateTransactionResponse - Interface in com.lmax.solana4j.client.api
-
Represents the response from simulating a transaction on the Solana blockchain.
- SimulateTransactionResponse.Data - Interface in com.lmax.solana4j.client.api
-
Represents the return data generated by an instruction during the transaction simulation.
- SolanaApi - Interface in com.lmax.solana4j.client.api
-
Represents the API for interacting with the Solana blockchain.
- SolanaClient - Class in com.lmax.solana4j.client
-
The
SolanaClient
class provides a static factory method to interact with the Solana blockchain. - SolanaClientOptionalParams - Interface in com.lmax.solana4j.client.api
-
Interface representing optional parameters for customizing Solana JSON-RPC requests.
- SolanaClientResponse<T> - Interface in com.lmax.solana4j.client.api
-
Represents a response from the Solana client, encapsulating either a successful result or an error.
- SolanaClientResponse.SolanaClientError - Interface in com.lmax.solana4j.client.api
-
Represents an error encountered during a Solana client operation.
- SolanaJsonRpcClient - Class in com.lmax.solana4j.client.jsonrpc
-
Implementation of the
SolanaApi
interface for interacting with the Solana blockchain via JSON-RPC. - SolanaJsonRpcClient(HttpClient, String) - Constructor for class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClient
-
Constructs a new
SolanaJsonRpcClient
with the specified HTTP client and RPC URL. - SolanaJsonRpcClientException - Exception in com.lmax.solana4j.client.jsonrpc
-
Exception thrown when an error occurs during communication with the Solana JSON RPC.
- SolanaJsonRpcClientOptionalParams - Class in com.lmax.solana4j.client.jsonrpc
-
Implementation of
SolanaClientOptionalParams
that provides support for adding and retrieving optional parameters to be used in Solana JSON-RPC requests. - SolanaJsonRpcClientOptionalParams() - Constructor for class com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClientOptionalParams
- SolanaRpcResponse<T> - Interface in com.lmax.solana4j.client.api
-
Represents a generic response from the Solana RPC (Remote Procedure Call) API.
- SolanaRpcResponse.Context - Interface in com.lmax.solana4j.client.api
-
Represents the context of a Solana blockchain query or transaction.
T
- TokenAccount - Interface in com.lmax.solana4j.client.api
-
Represents a token account on the Solana blockchain.
- TokenAmount - Interface in com.lmax.solana4j.client.api
-
Represents the amount of an SPL token in a token account on the Solana blockchain.
- toString() - Method in exception com.lmax.solana4j.client.jsonrpc.SolanaJsonRpcClientException
- TRANSACTION - com.lmax.solana4j.client.api.TransactionResponse.Message.AccountKeys.AccountKeyParsed.KeySource
-
The key originates from the transaction.
- TransactionResponse - Interface in com.lmax.solana4j.client.api
-
Represents the response of a transaction on the Solana blockchain.
- TransactionResponse.InnerInstruction - Interface in com.lmax.solana4j.client.api
-
Represents an inner instruction in a Solana transaction.
- TransactionResponse.Message - Interface in com.lmax.solana4j.client.api
-
Represents a message in a Solana transaction.
- TransactionResponse.Message.AccountKeys - Interface in com.lmax.solana4j.client.api
-
Represents a collection of account keys used in a Solana transaction.
- TransactionResponse.Message.AccountKeys.AccountKeyParsed - Interface in com.lmax.solana4j.client.api
-
Represents an account key used in Solana transactions.
- TransactionResponse.Message.AccountKeys.AccountKeyParsed.KeySource - Enum in com.lmax.solana4j.client.api
-
Enum representing the source of the account key.
- TransactionResponse.Message.Header - Interface in com.lmax.solana4j.client.api
-
Represents the header of a transaction on the Solana blockchain.
- TransactionResponse.TransactionData - Interface in com.lmax.solana4j.client.api
-
Represents the core data of a transaction on the Solana blockchain.
- TransactionResponse.TransactionData.TransactionDataParsed - Interface in com.lmax.solana4j.client.api
-
Represents the core data of a transaction on the Solana blockchain.
- TransactionResponse.TransactionMetadata - Interface in com.lmax.solana4j.client.api
-
Represents metadata associated with a transaction on the Solana blockchain.
- TransactionResponse.TransactionMetadata.LoadedAddresses - Interface in com.lmax.solana4j.client.api
-
Represents the addresses loaded during a Solana transaction.
- TransactionResponse.TransactionMetadata.Reward - Interface in com.lmax.solana4j.client.api
-
Represents a reward given to a validator or account on the Solana blockchain.
- TransactionResponse.TransactionMetadata.TokenBalance - Interface in com.lmax.solana4j.client.api
-
Represents the balance of an SPL token in a Solana transaction or account.
V
- valueOf(String) - Static method in enum com.lmax.solana4j.client.api.Commitment
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.lmax.solana4j.client.api.TransactionResponse.Message.AccountKeys.AccountKeyParsed.KeySource
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.lmax.solana4j.client.api.Commitment
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.lmax.solana4j.client.api.TransactionResponse.Message.AccountKeys.AccountKeyParsed.KeySource
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages