SDK Reference
Dive into the specifics of each SDK method by checking out our complete documentation.
connectNetwork
Connecting to the Solana network:
connectNetworkconnectWallet
Connecting to the user's wallet:
connectWalletsendSolanaLamports
Sending Solana lamports (recommended):
sendSolanaLamportssendSolana
Sending Solana (not recommended):
sendSolanasendTokens
Sending an SPL token in terms of it's lowest denomination (recommended):
sendTokenssendTokensDecimal
Sending an SPL token in a decimal amount (not recommended):
sendTokensDecimalsignTransaction
Signing a transaction with multiple instructions:
signTransactionbroadcastSerializedTransaction
Broadcasting the serialized transaction from signTransaction
to be confirmed on the Solana network:
signMessage
Signing a message using the user's private key:
signMessagegetBalance
Getting the Solana lamports balance of an account:
getBalancegetTokenBalances
Getting all of the token balances held by a Solana account:
getTokenBalancesgetAccountInfo
Getting the info for an account:
getAccountInfogetAssociatedTokenAddress
Getting the associated token address of an account:
getAssociatedTokenAddressgetTokenBalance
Getting the balance for a token held by a Solana account:
getTokenBalancetokens.getData
Getting the raw data of a token:
tokens.getDatatokens.getTags
Getting a list of SPL token registry tags and their descriptions:
tokens.getTagstokens.getToken
Getting the SPL token metadata from the SPL token registry:
tokens.getTokentokens.search
Searching for an SPL token in the SPL token registry:
tokens.searchtokens.getRawUnvalidatedList
Getting the raw, unvalidated list of tokens in the SPL token registry:
tokens.getRawUnvalidatedListadapters
Using adapters to connect to a wallet:
adaptersLast updated