From f8ed7137fefb1b1ba41e17b86078a6eddf3ca52b Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Tue, 7 Jul 2020 22:27:43 +0300 Subject: [PATCH] added Transaction::raw (#366) --- src/types/transaction.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/types/transaction.rs b/src/types/transaction.rs index 4f307c6a..61e7220f 100644 --- a/src/types/transaction.rs +++ b/src/types/transaction.rs @@ -30,6 +30,9 @@ pub struct Transaction { pub gas: U256, /// Input data pub input: Bytes, + /// Raw transaction data + #[serde(default)] + pub raw: Option, } /// "Receipt" of an executed transaction: details of its execution.