TokenTransfer
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / TokenTransfer
Interface: TokenTransfer
Section titled “Interface: TokenTransfer”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16282
SPL token transfer details
Properties
Section titled “Properties”fromUserAccount
Section titled “fromUserAccount”fromUserAccount:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16284
Sender address
toUserAccount
Section titled “toUserAccount”toUserAccount:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16286
Recipient address
fromTokenAccount
Section titled “fromTokenAccount”fromTokenAccount:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16288
Sender’s token account
toTokenAccount
Section titled “toTokenAccount”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
Section titled “tokenAmount”tokenAmount:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16294
Amount in smallest units
tokenSymbol?
Section titled “tokenSymbol?”
optionaltokenSymbol:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16296
Token symbol (e.g., ‘USDC’)
tokenName?
Section titled “tokenName?”
optionaltokenName:string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16298
Token name (e.g., ‘USD Coin’)
decimals?
Section titled “decimals?”
optionaldecimals:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16300
Token decimals