File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -272,6 +272,10 @@ type TransactionMeta struct {
272272 ReturnData ReturnData `json:"returnData"`
273273
274274 ComputeUnitsConsumed * uint64 `json:"computeUnitsConsumed"`
275+
276+ // The cost the block cost model charged this transaction against the block
277+ // limits. Nil when the RPC node does not report it.
278+ CostUnits * uint64 `json:"costUnits"`
275279}
276280
277281type ReturnData struct {
@@ -574,6 +578,10 @@ type ParsedTransactionMeta struct {
574578 ReturnData ReturnData `json:"returnData"`
575579
576580 ComputeUnitsConsumed * uint64 `json:"computeUnitsConsumed"`
581+
582+ // The cost the block cost model charged this transaction against the block
583+ // limits. Nil when the RPC node does not report it.
584+ CostUnits * uint64 `json:"costUnits"`
577585}
578586
579587type ParsedInnerInstruction struct {
You can’t perform that action at this time.
0 commit comments