Skip to content

Commit

Permalink
feat: add computation_charge_burned
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Nov 11, 2024
1 parent d605da9 commit d97fd86
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/iota-rust-sdk/src/types/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ pub struct ChangeEpoch {
#[cfg_attr(feature = "serde", serde(with = "crate::_serde::ReadableDisplay"))]
#[cfg_attr(feature = "schemars", schemars(with = "crate::_schemars::U64"))]
pub computation_charge: u64,
/// The total amount of gas burned for computation during the epoch.
#[cfg_attr(feature = "serde", serde(with = "crate::_serde::ReadableDisplay"))]
#[cfg_attr(feature = "schemars", schemars(with = "crate::_schemars::U64"))]
pub computation_charge_burned: u64,
/// The amount of storage rebate refunded to the txn senders.
#[cfg_attr(feature = "serde", serde(with = "crate::_serde::ReadableDisplay"))]
#[cfg_attr(feature = "schemars", schemars(with = "crate::_schemars::U64"))]
Expand Down

0 comments on commit d97fd86

Please sign in to comment.