diff --git a/src/apps/jsonrpc-api.md b/src/apps/jsonrpc-api.md index 0eda6a9d7b93d9..fc5bd087c3bf8d 100644 --- a/src/apps/jsonrpc-api.md +++ b/src/apps/jsonrpc-api.md @@ -1107,6 +1107,10 @@ Simulate sending a transaction #### Results: An RpcResponse containing a TransactionStatus object +The result will be an RpcResponse JSON object with `value` set to a JSON object with the following fields: + +* `err: ` - Error if transaction failed, null if transaction succeeded. [TransactionError definitions](https://github.com/solana-labs/solana/blob/master/sdk/src/transaction.rs#L14) +* `logs: ` - Array of log messages the transaction instructions output during execution, null if simulation failed before the transaction was able to execute (for example due to an invalid blockhash or signature verification failure) #### Example: