@lelantos-org/sdk / x402 / ShieldedExactOptions
Interface: ShieldedExactOptions
Defined in: @lelantos-org/sdk/dist/x402/shielded.d.ts:15
Properties
autoConsolidate?
ts
optional autoConsolidate?: boolean;Defined in: @lelantos-org/sdk/dist/x402/shielded.d.ts:21
Self-spend to make a payable note when no 2-note cover exists. Default true.
minTimeoutSeconds?
ts
optional minTimeoutSeconds?: number;Defined in: @lelantos-org/sdk/dist/x402/shielded.d.ts:19
Reject requirements whose window is shorter than this. Default 20.
onPhase?
ts
optional onPhase?: (phase, info) => void;Defined in: @lelantos-org/sdk/dist/x402/shielded.d.ts:17
Forwarded to wallet.transfer; "proving" is the multi-second phase.
Parameters
| Parameter | Type |
|---|---|
phase | SpendPhase |
info | PhaseInfo |
Returns
void