@lelantos-org/sdk / advanced / CancelDepositInputs
Interface: CancelDepositInputs
Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:88
Preimage fields for cancelDeposit. The escrow row keeps only a digest, so every field is passed back in and checked against it. Cache them: escrowed() returns none of them.
All but submittedAt come from the DepositEscrowed log. submittedAt is the EVM's block.number, which the log does not carry on Arbitrum, so fetchDepositEscrowed resolves it rather than reusing log.blockNumber.
Properties
feeAssetId
feeAssetId: AssetId;Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:103
The fee leaf's asset, as the request named it: 0 for a zero-value note. Decides whether the relayer's share refunds with the principal or separately in its own token.
feeBpsAtSubmit
feeBpsAtSubmit: number;Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:93
feeIn
feeIn: bigint;Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:97
The relayer's fee leaf value.
feeInner
feeInner: Hex32;Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:104
inner
inner: Hex32;Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:91
The depositor note's inner, as the request escrowed it.
payer
payer: EvmAddress;Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:94
publicAssetId
publicAssetId: AssetId;Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:92
publicIn
publicIn: bigint;Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:89
pulled
pulled: bigint;Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:109
The escrow's refund cap, DepositEscrowedRecord.pulled. Any value but the event's reverts DigestMismatch.
submittedAt
submittedAt: number;Defined in: @lelantos-org/sdk/dist/chain/types.d.ts:95