SafeTxIn class

Constructors

SafeTxIn({int? chainId, String? data, int? nonce, String? to, String? value})
Returns a new SafeTxIn instance.

Properties

chainId ↔ int?
ChainID is the EVM chain the Safe transaction is bound to. 0 uses the wallet's own chain, or the Hanzo L1 (36963) when it is chain-agnostic.
getter/setter pair
data ↔ String?
Data is the call data, hex-encoded.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
nonce ↔ int?
Nonce is the Safe's transaction nonce.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
to ↔ String?
To is the transaction's target address.
getter/setter pair
value ↔ String?
Value is the native-token amount to send, as a decimal string in wei.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → SafeTxIn?
Returns a new SafeTxIn instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<SafeTxIn>
mapFromJson(dynamic json) → Map<String, SafeTxIn>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<SafeTxIn>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.