Transaction Metadata
data class TransactionMetadata(val sender: Optional<Any?> = Optional.Absent, val gasPrice: Optional<Any?> = Optional.Absent, val gasObjects: Optional<List<ObjectRef>?> = Optional.Absent, val gasBudget: Optional<Any?> = Optional.Absent, val gasSponsor: Optional<Any?> = Optional.Absent)
The optional extra data a user can provide to a transaction dry run. sender
defaults to 0x0
. If gasObjects
is not present, or is an empty list, it is substituted with a mock Coin object, gasPrice
defaults to the reference gas price, gasBudget
defaults to the max gas budget and gasSponsor
defaults to the sender.