Skip to content

Commit f8ed713

Browse files
authored
added Transaction::raw (#366)
1 parent cd483f2 commit f8ed713

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/types/transaction.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ pub struct Transaction {
3030
pub gas: U256,
3131
/// Input data
3232
pub input: Bytes,
33+
/// Raw transaction data
34+
#[serde(default)]
35+
pub raw: Option<Bytes>,
3336
}
3437

3538
/// "Receipt" of an executed transaction: details of its execution.

0 commit comments

Comments
 (0)