From d23f1436c5fe579d593da2dd4df5eef4ada2d28b Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 30 Oct 2020 14:22:58 -0700 Subject: [PATCH] docs: add log messages to json-rpc docs (#13317) --- docs/src/apps/jsonrpc-api.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/apps/jsonrpc-api.md b/docs/src/apps/jsonrpc-api.md index 5b51b3a72c..92e2d7f66c 100644 --- a/docs/src/apps/jsonrpc-api.md +++ b/docs/src/apps/jsonrpc-api.md @@ -489,6 +489,7 @@ The result field will be an object with the following fields: - `preBalances: ` - array of u64 account balances from before the transaction was processed - `postBalances: ` - array of u64 account balances after the transaction was processed - `innerInstructions: ` - List of [inner instructions](#inner-instructions-structure) or omitted if inner instruction recording was not yet enabled during this transaction + - `logMessages: ` - array of string log messages or omitted if log message recording was not yet enabled during this transaction - DEPRECATED: `status: ` - Transaction status - `"Ok": ` - Transaction was successful - `"Err": ` - Transaction failed with TransactionError @@ -524,6 +525,7 @@ Result: "err": null, "fee": 5000, "innerInstructions": [], + "logMessages": [], "postBalances": [ 499998932500, 26858640, @@ -605,6 +607,7 @@ Result: "err": null, "fee": 5000, "innerInstructions": [], + "logMessages": [], "postBalances": [ 499998932500, 26858640, @@ -853,6 +856,7 @@ N encoding attempts to use program-specific instruction parsers to return more h - `preBalances: ` - array of u64 account balances from before the transaction was processed - `postBalances: ` - array of u64 account balances after the transaction was processed - `innerInstructions: ` - List of [inner instructions](#inner-instructions-structure) or omitted if inner instruction recording was not yet enabled during this transaction + - `logMessages: ` - array of string log messages or omitted if log message recording was not yet enabled during this transaction - DEPRECATED: `status: ` - Transaction status - `"Ok": ` - Transaction was successful - `"Err": ` - Transaction failed with TransactionError