SolanaPrivateTransferParams
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / SolanaPrivateTransferParams
Interface: SolanaPrivateTransferParams
Section titled “Interface: SolanaPrivateTransferParams”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15435
Parameters for sending a private SPL token transfer
Properties
Section titled “Properties”connection
Section titled “connection”connection:
Connection
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15437
Solana RPC connection
sender
Section titled “sender”sender:
PublicKey
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15439
Sender’s public key
senderTokenAccount
Section titled “senderTokenAccount”senderTokenAccount:
PublicKey
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15441
Sender’s token account (ATA)
recipientMetaAddress
Section titled “recipientMetaAddress”recipientMetaAddress:
StealthMetaAddress
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15443
Recipient’s stealth meta-address (sip:solana:…)
mint:
PublicKey
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15445
SPL token mint address
amount
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15447
Amount to transfer (in token’s smallest unit)
signTransaction()
Section titled “signTransaction()”signTransaction: <
T>(tx) =>Promise<T>
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15449
Function to sign the transaction
Type Parameters
Section titled “Type Parameters”T extends Transaction | VersionedTransaction
Parameters
Section titled “Parameters”T
Returns
Section titled “Returns”Promise<T>