The compressed token SDK calls these methods internally via interface functions
like
transferInterface and getAtaInterface. You rarely need to call
them directly.Call these methods directly if you are building a block explorer,
custom indexer, or working with
legacy compressed tokens.Create an RPC connection
- Mainnet
- Devnet
Best practices
Error codes
Methods
These methods are called internally by the compressed token SDK. Call them directly for custom indexing, block explorers, or debugging.| GetCompressedAccount | Returns a compressed account by address or hash. |
| GetCompressedAccountsByOwner | Returns all compressed accounts for an owner. |
| GetCompressedBalanceByOwner | Returns the total compressed balance for an owner. |
| GetCompressedTokenAccountsByOwner | Returns all compressed token accounts for an owner. |
| GetCompressedTokenBalancesByOwner | Returns all token balances for compressed accounts owned by an address. |
| GetValidityProof | Returns a validity proof for compressed state transitions. |
| GetCompressionSignaturesForAddress | Returns signatures for transactions involving an address. |
| GetCompressionSignaturesForOwner | Returns signatures for transactions where an address is the owner. |
| GetTransactionWithCompressionInfo | Returns transaction details with compression context. |
| GetIndexerHealth | Returns the health status of the Photon indexer. |
| GetIndexerSlot | Returns the current slot of the Photon indexer. |
Legacy
Methods for direct compressed-token workflows. Not called by the Light Token SDK interface functions.| GetCompressedBalance | Returns the balance of a single compressed account. |
| GetCompressedMintTokenHolders | Lists all holders of a compressed token mint. |
| GetCompressedTokenAccountBalance | Returns the token balance of a single compressed token account. |
| GetCompressedTokenAccountsByDelegate | Returns all compressed token accounts delegated to an address. |
| GetCompressionSignaturesForAccount | Returns signatures for transactions involving a compressed account. |
| GetCompressionSignaturesForTokenOwner | Returns signatures for token transactions by owner. |
| GetLatestCompressionSignatures | Returns the most recent compression-related signatures. |
| GetLatestNonVotingSignatures | Returns recent non-voting transaction signatures. |
| GetMultipleCompressedAccounts | Returns multiple compressed accounts in a single request. |
| GetMultipleNewAddressProofs | Returns proofs that new addresses can be created. |