simulateTransaction

Simulates sending a transaction.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
TransactionstringRequired
The transaction to simulate, as an encoded string.
ConfigurationobjectOptional
Optional configuration object containing additional options.

Response

The result of simulating the transaction.
errstring or null
Error if the transaction failed, null if succeeded.
logslist of strings or null
Log messages output during execution.
accountslist of objects or null
Array of account information.
unitsConsumedinteger or null
Compute budget units consumed.
returnDataobject or null
innerInstructionsobject or null

Inner instructions if innerInstructions is true.