AptosRequestEncodeSubmission class

This endpoint accepts an EncodeSubmissionRequest, which internally is a UserTransactionRequestInner (and optionally secondary signers) encoded as JSON, validates the request format, and then returns that request encoded in BCS. The client can then use this to create a transaction signature to be used in a SubmitTransactionRequest, which it then passes to the /transactions POST endpoint. aptos documation

Inheritance

Constructors

AptosRequestEncodeSubmission.new({required AptosAddress sender, required String sequenceNumber, required String maxGasAmount, required String gasUnitPrice, required String expirationTimestampSecs, required Object payload, List<String>? secondarySigners})

Properties

body Map<String, dynamic>
no setteroverride
expirationTimestampSecs String
final
gasUnitPrice String
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
no setterinherited
maxGasAmount String
final
method String
no setteroverride
pathParameters List<String>
no setterinherited
payload Object
final
queryParameters Map<String, String?>
no setterinherited
requestType → RequestServiceType
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondarySigners List<String>?
final
sender AptosAddress
A hex encoded 32 byte Aptos account address. This is represented in a string as a 64 character hex string, sometimes shortened by stripping leading 0s, and adding a 0x.
final
sequenceNumber String
final

Methods

buildRequest(int requestID) AptosRequestDetails
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited