Tx
Properties
Name
Type
Description
Notes
type
float
[optional]
chain_id
float
[optional]
data
str
[optional]
gas
str
[optional]
gas_price
str
[optional]
gas_tip_cap
str
[optional]
gas_fee_cap
str
[optional]
value
str
[optional]
nonce
float
[optional]
var_from
str
[optional]
to
str
[optional]
blob_gas
str
[optional]
blob_gas_fee_cap
str
[optional]
blob_hashes
List[str]
[optional]
v
str
[optional]
r
str
[optional]
s
str
[optional]
Example
from moonsdk.models.tx import Tx
# TODO update the JSON string below
json = "{}"
# create an instance of Tx from a JSON string
tx_instance = Tx.from_json(json)
# print the JSON string representation of the object
print(Tx.to_json())
# convert the object into a dict
tx_dict = tx_instance.to_dict()
# create an instance of Tx from a dict
tx_form_dict = tx.from_dict(tx_dict)
Last updated