TokenTransfer
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / TokenTransfer
Interface: TokenTransfer
Section titled “Interface: TokenTransfer”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:16386
SPL token transfer details
Properties
Section titled “Properties”fromUserAccount
Section titled “fromUserAccount”fromUserAccount:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:16388
Sender address
toUserAccount
Section titled “toUserAccount”toUserAccount:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:16390
Recipient address
fromTokenAccount
Section titled “fromTokenAccount”fromTokenAccount:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:16392
Sender’s token account
toTokenAccount
Section titled “toTokenAccount”toTokenAccount:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:16394
Recipient’s token account
mint:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:16396
Token mint address
tokenAmount
Section titled “tokenAmount”tokenAmount:
number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:16398
Amount in smallest units
tokenSymbol?
Section titled “tokenSymbol?”
optionaltokenSymbol?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:16400
Token symbol (e.g., ‘USDC’)
tokenName?
Section titled “tokenName?”
optionaltokenName?:string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:16402
Token name (e.g., ‘USD Coin’)
decimals?
Section titled “decimals?”
optionaldecimals?:number
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:16404
Token decimals