SolanaRPCSendTransaction class

The returned signature is the first signature in the transaction, which is used to identify the transaction (transaction id). This identifier can be easily extracted from the transaction data before submission. https://solana.com/docs/rpc/http/sendtransaction

Inheritance

Constructors

SolanaRPCSendTransaction({required String encodedTransaction, int? maxRetries, bool skipPreflight = false, Commitment? commitment = Commitment.finalized, SolanaRPCEncoding? encoding = SolanaRPCEncoding.base58, MinContextSlot? minContextSlot})
const

Properties

commitment Commitment?
The desired commitment level for the request.
finalinherited
encodedTransaction String
Fully-signed Transaction, as encoded string.
final
encoding SolanaRPCEncoding?
The encoding format of the data.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
maxRetries int?
Maximum number of times for the RPC node to retry sending the transaction to the leader. If this parameter not provided, the RPC node will retry the transaction until it is finalized or until the blockhash expires.
final
method String
sendtransaction
no setteroverride
minContextSlot MinContextSlot?
The minimum context slot for the request.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipPreflight bool
skip the preflight transaction checks
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) String
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