Skip to content

TokenTransfer

SIP Protocol API Reference v0.12.0


SIP Protocol API Reference / TokenTransfer

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16378

SPL token transfer details

fromUserAccount: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16380

Sender address


toUserAccount: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16382

Recipient address


fromTokenAccount: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16384

Sender’s token account


toTokenAccount: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16386

Recipient’s token account


mint: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16388

Token mint address


tokenAmount: number

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16390

Amount in smallest units


optional tokenSymbol?: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16392

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


optional tokenName?: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16394

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


optional decimals?: number

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16396

Token decimals