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.

Annotations

Constructors

ConstructionPayloadsRequest(NetworkIdentifier networkIdentifier, List<Operation> operations, Map<String, dynamic>? metadata, List<PublicKey>? publicKeys)
const
ConstructionPayloadsRequest.fromJson(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, dynamic>?
final
networkIdentifier NetworkIdentifier
final
operations List<Operation>
final
publicKeys List<PublicKey>?
final
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