POSTsimulateTransaction
Simulate sending a transaction
It contains following items:
- Transaction (
required) - ConfigurationObject (
optional)
Transaction, as an encoded string.
The request ID
The JSON-RPC version
An object containing metadata about the current state of the Solana network at the time of the request.
The API version used for the request
The slot number at which the request was evaluated
Data associated with the account, either as encoded binary data or JSON format {: } - depending on encoding parameter
Boolean indicating if the account contains a program (and is strictly read-only)
Number of lamports assigned to this account
Base-58 encoded Pubkey of the program this account has been assigned to
The epoch at which this account will next owe rent
The data size of the account
Error if transaction failed, null if transaction succeeded.
Defined only if innerInstructions was set to true. The value is a list of inner instructions.
Index of the transaction instruction from which the inner instruction(s) originated
Ordered list of inner program instructions that were invoked during a single transaction instruction.
Index into the message.accountKeys array indicating the program account that executes this instruction.
List of ordered indices into the message.accountKeys array indicating which accounts to pass to the program.
The program input data encoded in a base-58 string.
The number of bytes of all accounts loaded by this transaction
Array of log messages the transaction instructions output during execution, null if simulation failed before the transaction was able to execute
The blockhash of the block, as base-58 encoded string
The last valid block height at which the blockhash is still valid.
The most-recent return data generated by an instruction in the transaction
the program that generated the return data, as base-58 encoded Pubkey
the return data itself, as base-64 encoded binary data