SolanaRPCSimulateTransaction class

Inheritance

Constructors

SolanaRPCSimulateTransaction({required String encodedTransaction, bool? replaceRecentBlockhash, RPCAccountConfig? accounts, bool? sigVerify, bool? innerInstructions, Commitment? commitment = Commitment.finalized, MinContextSlot? minContextSlot, SolanaRPCEncoding? encoding = SolanaRPCEncoding.base58})
const

Properties

accounts RPCAccountConfig?
Accounts configuration object
final
commitment Commitment?
The desired commitment level for the request.
finalinherited
encodedTransaction String
Transaction, as an encoded string. The transaction must have a valid blockhash, but is not required to be signed.
final
encoding SolanaRPCEncoding?
The encoding format of the data.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
innerInstructions bool?
If true the response will include inner instructions. These inner instructions will be jsonParsed where possible, otherwise json.
final
method String
simulateTransaction
no setteroverride
minContextSlot MinContextSlot?
The minimum context slot for the request.
finalinherited
replaceRecentBlockhash bool?
if true the transaction recent blockhash will be replaced with the most recent blockhash. (conflicts with sigVerify)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sigVerify bool?
if true the transaction signatures will be verified (conflicts with replaceRecentBlockhash)
final
validate String?
A validation property (not used in this implementation).
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(dynamic result) Map<String, dynamic>
Converts a dynamic response to the generic type T.
inherited
toJson() List
Converts the request to JSON format.
override
toRequest(int requestId) SolanaRequestDetails
Converts the request parameters to a SolanaRequestDetails object.
inherited
toString() String
A string representation of this object.
inherited

Operators

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