docs: add log messages to json-rpc docs (#13317)
This commit is contained in:
@ -489,6 +489,7 @@ The result field will be an object with the following fields:
|
|||||||
- `preBalances: <array>` - array of u64 account balances from before the transaction was processed
|
- `preBalances: <array>` - array of u64 account balances from before the transaction was processed
|
||||||
- `postBalances: <array>` - array of u64 account balances after the transaction was processed
|
- `postBalances: <array>` - array of u64 account balances after the transaction was processed
|
||||||
- `innerInstructions: <array|undefined>` - List of [inner instructions](#inner-instructions-structure) or omitted if inner instruction recording was not yet enabled during this transaction
|
- `innerInstructions: <array|undefined>` - List of [inner instructions](#inner-instructions-structure) or omitted if inner instruction recording was not yet enabled during this transaction
|
||||||
|
- `logMessages: <array>` - array of string log messages or omitted if log message recording was not yet enabled during this transaction
|
||||||
- DEPRECATED: `status: <object>` - Transaction status
|
- DEPRECATED: `status: <object>` - Transaction status
|
||||||
- `"Ok": <null>` - Transaction was successful
|
- `"Ok": <null>` - Transaction was successful
|
||||||
- `"Err": <ERR>` - Transaction failed with TransactionError
|
- `"Err": <ERR>` - Transaction failed with TransactionError
|
||||||
@ -524,6 +525,7 @@ Result:
|
|||||||
"err": null,
|
"err": null,
|
||||||
"fee": 5000,
|
"fee": 5000,
|
||||||
"innerInstructions": [],
|
"innerInstructions": [],
|
||||||
|
"logMessages": [],
|
||||||
"postBalances": [
|
"postBalances": [
|
||||||
499998932500,
|
499998932500,
|
||||||
26858640,
|
26858640,
|
||||||
@ -605,6 +607,7 @@ Result:
|
|||||||
"err": null,
|
"err": null,
|
||||||
"fee": 5000,
|
"fee": 5000,
|
||||||
"innerInstructions": [],
|
"innerInstructions": [],
|
||||||
|
"logMessages": [],
|
||||||
"postBalances": [
|
"postBalances": [
|
||||||
499998932500,
|
499998932500,
|
||||||
26858640,
|
26858640,
|
||||||
@ -853,6 +856,7 @@ N encoding attempts to use program-specific instruction parsers to return more h
|
|||||||
- `preBalances: <array>` - array of u64 account balances from before the transaction was processed
|
- `preBalances: <array>` - array of u64 account balances from before the transaction was processed
|
||||||
- `postBalances: <array>` - array of u64 account balances after the transaction was processed
|
- `postBalances: <array>` - array of u64 account balances after the transaction was processed
|
||||||
- `innerInstructions: <array|undefined>` - List of [inner instructions](#inner-instructions-structure) or omitted if inner instruction recording was not yet enabled during this transaction
|
- `innerInstructions: <array|undefined>` - List of [inner instructions](#inner-instructions-structure) or omitted if inner instruction recording was not yet enabled during this transaction
|
||||||
|
- `logMessages: <array>` - array of string log messages or omitted if log message recording was not yet enabled during this transaction
|
||||||
- DEPRECATED: `status: <object>` - Transaction status
|
- DEPRECATED: `status: <object>` - Transaction status
|
||||||
- `"Ok": <null>` - Transaction was successful
|
- `"Ok": <null>` - Transaction was successful
|
||||||
- `"Err": <ERR>` - Transaction failed with TransactionError
|
- `"Err": <ERR>` - Transaction failed with TransactionError
|
||||||
|
Reference in New Issue
Block a user