DecodeLedgerMemoResult
DecodeLedgerMemoResult = {
Ok: [] | [DecodedMemo]; } | {Err: [] | [DecodeLedgerMemoError]; }
Defined in: packages/canisters/src/declarations/ckbtc/minter.d.ts:113
Type Declaration
Section titled “Type Declaration”{ 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.