SolanaRequestSimulateTransaction class
Simulate sending a transaction https://solana.com/docs/rpc/http/simulatetransaction
- Inheritance
- 
    - Object
- BaseServiceRequest<SimulateTranasctionResponse, Map< String, dynamic> , SolanaRequestDetails>
- SolanaRequest<SimulateTranasctionResponse, Map< String, dynamic> >
- SolanaRequestSimulateTransaction
 
Constructors
- SolanaRequestSimulateTransaction({required String encodedTransaction, bool? replaceRecentBlockhash, RPCAccountConfig? accounts, bool? sigVerify, bool? innerInstructions, Commitment? commitment = Commitment.finalized, MinContextSlot? minContextSlot, SolanaRequestEncoding? encoding = SolanaRequestEncoding.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 → SolanaRequestEncoding?
- 
  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
- requestType → RequestServiceType
- 
  
  no setterinherited
- 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
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(Map< String, dynamic> result) → SimulateTranasctionResponse
- 
  
  override
- 
  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