Skip to content

GaslessCashoutParams

SIP Protocol API Reference v0.12.0


SIP Protocol API Reference / GaslessCashoutParams

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17483

Parameters for building a gasless cash-out transaction.

connection: Connection

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17485

Solana RPC connection


stealthAddress: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17487

Stealth address holding the tokens (base58)


ephemeralPublicKey: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17489

Ephemeral public key from the payment (base58)


viewingPrivateKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17491

Recipient’s viewing private key (hex)


spendingPrivateKey: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17493

Recipient’s spending private key (hex)


destinationAddress: string

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17495

Final destination address (base58)


mint: PublicKey

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17497

SPL token mint


relayerPublicKey: PublicKey

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17499

Relayer public key — the transaction fee-payer (must hold SOL)


relayerFeeAccount: PublicKey

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17501

Relayer’s token account that receives the fee (ATA for mint)


feeConfig: RelayerFeeConfig

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17503

Fee model


optional version?: "1" | "2"

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17505

Announcement scheme version: ‘2’ canonical (default) | ‘1’ legacy