SolanaRequestSendTransaction 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

SolanaRequestSendTransaction.new({required String encodedTransaction, int? maxRetries, bool skipPreflight = false, Commitment? commitment = Commitment.finalized, SolanaRequestEncoding? encoding = SolanaRequestEncoding.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 SolanaRequestEncoding?
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
requestType → RequestServiceType
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipPreflight bool
skip the preflight transaction checks
final

Methods

buildRequest(int requestID) SolanaRequestDetails
Converts the request parameters to a SolanaRequestDetails object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(String result) String
inherited
toJson() List
Converts the request parameters to a JSON representation.
override
toString() String
A string representation of this object.
inherited

Operators

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