From 0b14facb80e161de79264c8f88b1a0c8e18ffcb6 Mon Sep 17 00:00:00 2001 From: maciejdfinity <122265298+maciejdfinity@users.noreply.github.com> Date: Thu, 9 Nov 2023 14:26:11 +0100 Subject: [PATCH] Adding icrc1_memo to the Transaction (#445) --- library/ic-ledger-types/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/ic-ledger-types/src/lib.rs b/library/ic-ledger-types/src/lib.rs index 722c10c85..f1a171e6d 100644 --- a/library/ic-ledger-types/src/lib.rs +++ b/library/ic-ledger-types/src/lib.rs @@ -502,6 +502,8 @@ pub struct Transaction { pub operation: Option, /// The time at which the client of the ledger constructed the transaction. pub created_at_time: Timestamp, + /// The memo that was provided to the icrc1_transfer endpoint. + pub icrc1_memo: Option, } /// A single record in the ledger.