SDK Reference

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

connectNetwork

Connecting to the Solana network:

pageconnectNetwork

connectWallet

Connecting to the user's wallet:

pageconnectWallet

sendSolanaLamports

Sending Solana lamports (recommended):

pagesendSolanaLamports

sendSolana

Sending Solana (not recommended):

pagesendSolana

sendTokens

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

pagesendTokens

sendTokensDecimal

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

pagesendTokensDecimal

signTransaction

Signing a transaction with multiple instructions:

pagesignTransaction

broadcastSerializedTransaction

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

pagebroadcastSerializedTransaction

signMessage

Signing a message using the user's private key:

pagesignMessage

getBalance

Getting the Solana lamports balance of an account:

pagegetBalance

getTokenBalances

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

pagegetTokenBalances

getAccountInfo

Getting the info for an account:

pagegetAccountInfo

getAssociatedTokenAddress

Getting the associated token address of an account:

pagegetAssociatedTokenAddress

getTokenBalance

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

pagegetTokenBalance

tokens.getData

Getting the raw data of a token:

pagetokens.getData

tokens.getTags

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

pagetokens.getTags

tokens.getToken

Getting the SPL token metadata from the SPL token registry:

pagetokens.getToken

tokens.search

Searching for an SPL token in the SPL token registry:

pagetokens.search

tokens.getRawUnvalidatedList

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

pagetokens.getRawUnvalidatedList

adapters

Using adapters to connect to a wallet:

pageadapters

Last updated