GasPayment
data class GasPayment(var objects: List<ObjectReference>, var owner: Address, var price: ULong, var budget: ULong) : Disposable
Payment information for executing a transaction
BCS
The BCS serialized form of this type is specified in bcs-schema.abnf.
Constructors
| GasPayment | constructor(objects: List<ObjectReference>, owner: Address, price: ULong, budget: ULong) |
Properties
| Name | Summary |
|---|---|
| budget | var budget: ULong Total budget willing to spend for the execution of a transaction |
| objects | var objects: List<ObjectReference> |
| owner | var owner: Address Owner of the gas objects, either the transaction sender or a sponsor |
| price | var price: ULong Gas unit price to use when charging for computation |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |
| toBcs | fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | fun toDisplayString(): String Render this type as human-readable text. |
| toJson | fun toJson(): String Convert this type to a JSON encoded string. |