Skip to content

DecodeLedgerMemoResult

DecodeLedgerMemoResult = { Ok: [] | [DecodedMemo]; } | { Err: [] | [DecodeLedgerMemoError]; }

Defined in: packages/canisters/src/declarations/cketh/minter.d.ts:139

{ Ok: [] | [DecodedMemo]; }

Ok: [] | [DecodedMemo]

The decoded memo, if the minter was able to decode it. This field is opt, so that other memo types can be added in the future.

{ Err: [] | [DecodeLedgerMemoError]; }

Err: [] | [DecodeLedgerMemoError]

An error in case the minter was not able to decode the provided memo. This field is opt, so that other error types can be added in the future.