ConstructionPayloadsRequest class
ConstructionPayloadsRequest is the request to /construction/payloads
. It contains the network, a slice of operations, and arbitrary metadata that was returned by the call to /construction/metadata
. Optionally, the request can also include an array of PublicKeys associated with the AccountIdentifiers returned in ConstructionPreprocessResponse.
Constructors
-
ConstructionPayloadsRequest(NetworkIdentifier network_identifier, List<
Operation> operations, Map<String, dynamic> ? metadata, List<PublicKey> ? public_keys) -
ConstructionPayloadsRequest.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
↔ Map<
String, dynamic> ? -
getter/setter pair
- network_identifier ↔ NetworkIdentifier
-
getter/setter pair
-
operations
↔ List<
Operation> -
getter/setter pair
-
public_keys
↔ List<
PublicKey> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited