Skip to content

SolanaPrivateTransferParams

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / SolanaPrivateTransferParams

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15435

Parameters for sending a private SPL token transfer

connection: Connection

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15437

Solana RPC connection


sender: PublicKey

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15439

Sender’s public key


senderTokenAccount: PublicKey

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15441

Sender’s token account (ATA)


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: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15447

Amount to transfer (in token’s smallest unit)


signTransaction: <T>(tx) => Promise<T>

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:15449

Function to sign the transaction

T extends Transaction | VersionedTransaction

T

Promise<T>