GasPayment
GasPayment
struct GasPayment
Payment information for executing a transaction
BCS
The BCS serialized form for this type is defined by the following ABNF:
gas-payment = (vector object-reference) ; gas coin objects
address ; owner
u64 ; price
u64 ; budget
init(objects:owner:price:budget:)
init(objects: [ObjectReference], owner: Address, price: UInt64, budget: UInt64)
budget
var budget: UInt64
Total budget willing to spend for the execution of a transaction
objects
var objects: [ObjectReference]
owner
var owner: Address
Owner of the gas objects, either the transaction sender or a sponsor
price
var price: UInt64
Gas unit price to use when charging for computation
Must be greater-than-or-equal-to the network's current RGP (reference gas price)