Skip to content

hasTokenAccount()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / hasTokenAccount

hasTokenAccount(connection, stealthAddress, mint): Promise<boolean>

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15661

Check if a stealth address already has an Associated Token Account

Connection

Solana RPC connection

string

Stealth address (base58)

PublicKey

Token mint

Promise<boolean>

True if ATA exists