Skip to content

TokenTransfer

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / TokenTransfer

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

SPL token transfer details

fromUserAccount: string

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

Sender address


toUserAccount: string

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

Recipient address


fromTokenAccount: string

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

Sender’s token account


toTokenAccount: string

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

Recipient’s token account


mint: string

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

Token mint address


tokenAmount: number

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

Amount in smallest units


optional tokenSymbol: string

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

Token symbol (e.g., ‘USDC’)


optional tokenName: string

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

Token name (e.g., ‘USD Coin’)


optional decimals: number

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

Token decimals