Skip to content

buildGaslessCashout()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / buildGaslessCashout

buildGaslessCashout(params): Promise<GaslessCashoutBuild>

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17557

Build a gasless cash-out transaction.

Derives the stealth signer from the recipient’s keys, computes the fee-from-claim, assembles a two- (or three-) instruction transaction with the relayer as fee-payer, and pre-signs with the stealth scalar. The relayer must add its own signature before broadcasting.

GaslessCashoutParams

Promise<GaslessCashoutBuild>

If the relayer fee >= the gross claim amount (nothing left for the recipient)