Use getStateTreeInfos instead
Get a list of all state tree infos. If not already cached, fetches from the cluster.
Get a V2 address tree info.
Fetch the compressed account for the specified account address or hash
Optionaladdress: BNOptionalhash: BNFetch the compressed balance for the specified account address or hash
Optionaladdress: BNOptionalhash: BNFetch the total compressed balance for the specified owner public key
Fetch the latest merkle proof for the specified account hash from the cluster
Fetch all the account info for multiple compressed accounts specified by an array of account hashes
Fetch the latest merkle proofs for multiple compressed accounts specified by an array account hashes
Fetch all the compressed accounts owned by the specified public key. Owner can be a program or user account
Optionalconfig: GetCompressedAccountsByOwnerConfigFetch all the compressed token accounts owned by the specified public key. Owner can be a program or user account
Optionaloptions: GetCompressedTokenAccountsByOwnerOrDelegateOptionsFetch all the compressed accounts delegated to the specified public key.
Optionaloptions: GetCompressedTokenAccountsByOwnerOrDelegateOptionsFetch the compressed token balance for the specified account hash
Optionaloptions: GetCompressedTokenAccountsByOwnerOrDelegateOptionsuse getCompressedTokenBalancesByOwnerV2 instead.
Fetch all the compressed token balances owned by the specified public key. Can filter by mint. Returns without context.
Fetch the compressed token balances owned by the specified public key. Paginated. Can filter by mint. Returns with context.
Optionaloptions: GetCompressedTokenAccountsByOwnerOrDelegateOptionsReturns confirmed compression signatures for transactions involving the specified account hash forward in time from genesis to the most recent confirmed block
queried account hash
Fetch a confirmed or finalized transaction from the cluster. Return with CompressionInfo
Returns confirmed signatures for transactions involving the specified address forward in time from genesis to the most recent confirmed block
queried compressed account address
Optionaloptions: PaginatedOptionsReturns confirmed signatures for compression transactions involving the specified account owner forward in time from genesis to the most recent confirmed block
queried owner public key
Optionaloptions: PaginatedOptionsReturns confirmed signatures for compression transactions involving the specified token account owner forward in time from genesis to the most recent confirmed block
Optionaloptions: PaginatedOptionsFetch the current indexer health status
Ensure that the Compression Indexer has already indexed the transaction
Fetch the current slot that the node is processing
Fetch all the compressed token holders for a given mint. Paginated.
Optionaloptions: PaginatedOptionsFetch the latest compression signatures on the cluster. Results are paginated.
Optionalcursor: stringOptionallimit: numberFetch all non-voting signatures
Optionallimit: numberOptionalcursor: stringFetch the latest address proofs for new unique addresses specified by an array of addresses.
the proof states that said address have not yet been created in respective address tree.
Array of BN254 new addresses
Array of validity proofs for new addresses
Array of BN254 hashes.
Array of BN254 new addresses.
validity proof with context
use getValidityProofV0 instead.
Fetch the latest validity proof for (1) compressed accounts specified by an array of account hashes. (2) new unique addresses specified by an array of addresses.
Validity proofs prove the presence of compressed accounts in state trees and the non-existence of addresses in address trees, respectively. They enable verification without recomputing the merkle proof path, thus lowering verification and data costs.
Fetch the latest validity proof for (1) compressed accounts specified by an array of account hashes. (2) new unique addresses specified by an array of addresses.
Validity proofs prove the presence of compressed accounts in state trees and the non-existence of addresses in address trees, respectively. They enable verification without recomputing the merkle proof path, thus lowering verification and data costs.
Array of { hash: BN254, tree: PublicKey, queue: PublicKey }.
Array of { address: BN254, tree: PublicKey, queue: PublicKey }.
validity proof with context
Fetch the latest validity proof for (1) compressed accounts specified by an array of account hashes. (2) new unique addresses specified by an array of addresses. Returns with context slot.
Validity proofs prove the presence of compressed accounts in state trees and the non-existence of addresses in address trees, respectively. They enable verification without recomputing the merkle proof path, thus lowering verification and data costs.
Array of BN254 hashes.
Array of BN254 new addresses. Optionally specify the tree and queue for each address. Default to public state tree/queue.
validity proof with context
Deprecated
Use getStateTreeInfos instead