ConstructionPreprocessResponse class

ConstructionPreprocessResponse contains options that will be sent unmodified to /construction/metadata. If it is not necessary to make a request to /construction/metadata, options should be omitted.

Some blockchains require the WalletPublicKey of particular AccountIdentifiers to construct a valid transaction. To fetch these WalletPublicKeys, populate required_public_keys with the AccountIdentifiers associated with the desired WalletPublicKeys. If it is not necessary to retrieve any WalletPublicKeys for construction, required_public_keys should be omitted.

Annotations
  • @immutable

Constructors

ConstructionPreprocessResponse(Map<String, dynamic>? options, List<AccountIdentifier>? requiredPublicKeys)
const
ConstructionPreprocessResponse.fromJson(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
options Map<String, dynamic>?
The options that will be sent directly to /construction/metadata by the caller.
final
requiredPublicKeys List<AccountIdentifier>?
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