SDK Reference

Dive into the specifics of each SDK method by checking out our complete documentation.

connectNetwork

Connecting to the Solana network:

connectWallet

Connecting to the user's wallet:

sendSolanaLamports

Sending Solana lamports (recommended):

sendSolana

Sending Solana (not recommended):

sendTokens

Sending an SPL token in terms of it's lowest denomination (recommended):

sendTokensDecimal

Sending an SPL token in a decimal amount (not recommended):

signTransaction

Signing a transaction with multiple instructions:

broadcastSerializedTransaction

Broadcasting the serialized transaction from signTransaction to be confirmed on the Solana network:

signMessage

Signing a message using the user's private key:

getBalance

Getting the Solana lamports balance of an account:

getTokenBalances

Getting all of the token balances held by a Solana account:

getAccountInfo

Getting the info for an account:

getAssociatedTokenAddress

Getting the associated token address of an account:

getTokenBalance

Getting the balance for a token held by a Solana account:

tokens.getData

Getting the raw data of a token:

tokens.getTags

Getting a list of SPL token registry tags and their descriptions:

tokens.getToken

Getting the SPL token metadata from the SPL token registry:

tokens.search

Searching for an SPL token in the SPL token registry:

tokens.getRawUnvalidatedList

Getting the raw, unvalidated list of tokens in the SPL token registry:

adapters

Using adapters to connect to a wallet:

Last updated