docs: add log messages to json-rpc docs (#13317)
This commit is contained in:
parent
bc7133d752
commit
d2ee9db214
@ -466,6 +466,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
|
||||||
@ -501,6 +502,7 @@ Result:
|
|||||||
"err": null,
|
"err": null,
|
||||||
"fee": 5000,
|
"fee": 5000,
|
||||||
"innerInstructions": [],
|
"innerInstructions": [],
|
||||||
|
"logMessages": [],
|
||||||
"postBalances": [
|
"postBalances": [
|
||||||
499998932500,
|
499998932500,
|
||||||
26858640,
|
26858640,
|
||||||
@ -582,6 +584,7 @@ Result:
|
|||||||
"err": null,
|
"err": null,
|
||||||
"fee": 5000,
|
"fee": 5000,
|
||||||
"innerInstructions": [],
|
"innerInstructions": [],
|
||||||
|
"logMessages": [],
|
||||||
"postBalances": [
|
"postBalances": [
|
||||||
499998932500,
|
499998932500,
|
||||||
26858640,
|
26858640,
|
||||||
@ -830,6 +833,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user