Skip to content

hasTokenAccount()

SIP Protocol API Reference v0.7.2


SIP Protocol API Reference / hasTokenAccount

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

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:11710

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