Skip to content

@lelantos-org/sdk / advanced / CancelDepositReceipt

Interface: CancelDepositReceipt ​

Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:117

What cancelDeposit refunded, decoded from the pool's DepositCanceled log.

A native cancel reports the pool's figures too: the adapter is the pool's payer and forwards the coin.

Properties ​

feeAssetId ​

ts
feeAssetId: AssetId;

Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:125

The fee leaf's asset; 0 for a zero-value note.


feeRefunded ​

ts
feeRefunded: bigint;

Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:130

Refunded in feeAssetId's token, in its base units. Nonzero only when the relayer note was paid in another asset.


refunded ​

ts
refunded: bigint;

Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:123

Refunded in the deposit asset's token, in its base units: principal and protocol fee, plus the relayer's share when it was paid in that asset.


txHash ​

ts
txHash: Hex32;

Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:118