TokenTransfer
SIP Protocol API Reference v0.12.0
SIP Protocol API Reference / TokenTransfer
Interface: TokenTransfer
Section titled “Interface: TokenTransfer”Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16378
SPL token transfer details
Properties
Section titled “Properties”fromUserAccount
Section titled “fromUserAccount”fromUserAccount:
string
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16380
Sender address
toUserAccount
Section titled “toUserAccount”toUserAccount:
string
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16382
Recipient address
fromTokenAccount
Section titled “fromTokenAccount”fromTokenAccount:
string
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16384
Sender’s token account
toTokenAccount
Section titled “toTokenAccount”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
Section titled “tokenAmount”tokenAmount:
number
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16390
Amount in smallest units
tokenSymbol?
Section titled “tokenSymbol?”
optionaltokenSymbol?:string
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16392
Token symbol (e.g., ‘USDC’)
tokenName?
Section titled “tokenName?”
optionaltokenName?:string
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16394
Token name (e.g., ‘USD Coin’)
decimals?
Section titled “decimals?”
optionaldecimals?:number
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:16396
Token decimals