SolanaClientAssociatedTokenAccontProgram extension
- on
Methods
-
createAssociatedTokenAccount(
{Ed25519HDPublicKey? owner, required Ed25519HDPublicKey mint, required Wallet funder, SignatureCallback? onSigned, Commitment commitment = Commitment.finalized}) → Future< ProgramAccount> -
Available on SolanaClient, provided by the SolanaClientAssociatedTokenAccontProgram extension
Create the account associated to the SPL tokenmintfor this wallet. -
createTokenAccount(
{required Ed25519HDPublicKey mint, required Wallet account, required Wallet creator, SignatureCallback? onSigned, Commitment commitment = Commitment.finalized}) → Future< Account> -
Available on SolanaClient, provided by the SolanaClientAssociatedTokenAccontProgram extension
Create an account foraccount. -
getAssociatedTokenAccount(
{required Ed25519HDPublicKey owner, required Ed25519HDPublicKey mint, Commitment commitment = Commitment.finalized}) → Future< ProgramAccount?> -
Available on SolanaClient, provided by the SolanaClientAssociatedTokenAccontProgram extension
-
getTokenBalance(
{required Ed25519HDPublicKey owner, required Ed25519HDPublicKey mint, Commitment commitment = Commitment.finalized}) → Future< TokenAmount> -
Available on SolanaClient, provided by the SolanaClientAssociatedTokenAccontProgram extension
Get tokenmintbalance for this wallet's account. -
hasAssociatedTokenAccount(
{required Ed25519HDPublicKey owner, required Ed25519HDPublicKey mint, Commitment commitment = Commitment.finalized}) → Future< bool> -
Available on SolanaClient, provided by the SolanaClientAssociatedTokenAccontProgram extension
Whether this wallet has an associated token account for the SPL tokenmint.