docs: fix doc for transaction_executed WS notification

It returns *state.AppExecResult.
This commit is contained in:
Anna Shaleva 2022-10-26 13:06:57 +03:00
parent 5811687836
commit f5441f6085

View file

@ -347,8 +347,10 @@ Example:
### `transaction_executed` notification ### `transaction_executed` notification
It contains the same result as from `getapplicationlog` method in the first It contains the same result as from `getapplicationlog` method in the first
parameter and no other parameters. The only difference from `getapplicationlog` is parameter and no other parameters. The difference from `getapplicationlog` is
that it always contains zero in the `contract` field. that it has block's or transaction's hex-encoded LE Uint256 hash in the `container`
field instead of two separate `txid` and `blockhash` fields and a single execution
instead of an executions array.
Example: Example:
``` ```
@ -357,11 +359,8 @@ Example:
"params" : [ "params" : [
{ {
"container" : "0xe1cd5e57e721d2a2e05fb1f08721b12057b25ab1dd7fd0f33ee1639932fdfad7", "container" : "0xe1cd5e57e721d2a2e05fb1f08721b12057b25ab1dd7fd0f33ee1639932fdfad7",
"executions" : [
{
"trigger" : "Application", "trigger" : "Application",
"gasconsumed" : "2.291", "gasconsumed" : "2.291",
"contract" : "0x0000000000000000000000000000000000000000",
"stack" : [], "stack" : [],
"notifications" : [ "notifications" : [
{ {
@ -424,8 +423,6 @@ Example:
], ],
"vmstate" : "HALT" "vmstate" : "HALT"
} }
]
}
], ],
"jsonrpc" : "2.0" "jsonrpc" : "2.0"
} }