Skip to content

@lelantos-org/sdk / internal / GenericCallOutput

Interface: GenericCallOutput ​

Defined in: @lelantos-org/sdk/dist/wallet/surface/generic.d.ts:8

One note the calls must produce.

Properties ​

asset ​

ts
asset: AssetRef;

Defined in: @lelantos-org/sdk/dist/wallet/surface/generic.d.ts:9


recipient? ​

ts
optional recipient?: string;

Defined in: @lelantos-org/sdk/dist/wallet/surface/generic.d.ts:18

Default: the wallet's own address.


sizing ​

ts
sizing: "exact" | "floor";

Defined in: @lelantos-org/sdk/dist/wallet/surface/generic.d.ts:16

"floor": tokens is a lower bound and the note is the smallest whose pull covers it. "exact": the calls return exactly tokens and the note is the largest whose pull fits.


tokens ​

ts
tokens: bigint;

Defined in: @lelantos-org/sdk/dist/wallet/surface/generic.d.ts:11

Token base units the calls return to the wrapper in asset's token.