SDK Reference
Last updated
Last updated
Dive into the specifics of each SDK method by checking out our complete documentation.
Connecting to the Solana network:
Connecting to the user's wallet:
Sending Solana lamports (recommended):
Sending Solana (not recommended):
Sending an SPL token in terms of it's lowest denomination (recommended):
Sending an SPL token in a decimal amount (not recommended):
Signing a transaction with multiple instructions:
Broadcasting the serialized transaction from signTransaction
to be confirmed on the Solana network:
Signing a message using the user's private key:
Getting the Solana lamports balance of an account:
Getting all of the token balances held by a Solana account:
Getting the info for an account:
Getting the associated token address of an account:
Getting the balance for a token held by a Solana account:
Getting the raw data of a token:
Getting a list of SPL token registry tags and their descriptions:
Getting the SPL token metadata from the SPL token registry:
Searching for an SPL token in the SPL token registry:
Getting the raw, unvalidated list of tokens in the SPL token registry:
Using adapters to connect to a wallet: