GaslessCashoutParams
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / GaslessCashoutParams
Interface: GaslessCashoutParams
Section titled “Interface: GaslessCashoutParams”Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17498
Parameters for building a gasless cash-out transaction.
Properties
Section titled “Properties”connection
Section titled “connection”connection:
Connection
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17500
Solana RPC connection
stealthAddress
Section titled “stealthAddress”stealthAddress:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17502
Stealth address holding the tokens (base58)
ephemeralPublicKey
Section titled “ephemeralPublicKey”ephemeralPublicKey:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17504
Ephemeral public key from the payment (base58)
viewingPrivateKey
Section titled “viewingPrivateKey”viewingPrivateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17506
Recipient’s viewing private key (hex)
spendingPrivateKey
Section titled “spendingPrivateKey”spendingPrivateKey:
`0x${string}`
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17508
Recipient’s spending private key (hex)
destinationAddress
Section titled “destinationAddress”destinationAddress:
string
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17510
Final destination address (base58)
mint:
PublicKey
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17512
SPL token mint
relayerPublicKey
Section titled “relayerPublicKey”relayerPublicKey:
PublicKey
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17514
Relayer public key — the transaction fee-payer (must hold SOL)
relayerFeeAccount
Section titled “relayerFeeAccount”relayerFeeAccount:
PublicKey
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17516
Relayer’s token account that receives the fee (ATA for mint)
feeConfig
Section titled “feeConfig”feeConfig:
RelayerFeeConfig
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17518
Fee model
version?
Section titled “version?”
optionalversion?:"1"|"2"
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17520
Announcement scheme version: ‘2’ canonical (default) | ‘1’ legacy
tokenProgramId?
Section titled “tokenProgramId?”
optionaltokenProgramId?:PublicKey
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17526
SPL token program owning the mint — defaults to the classic Token program; pass TOKEN_2022_PROGRAM_ID for Token-2022 mints. A wrong program id derives the wrong ATA and targets the wrong program (on-chain failure).