Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 34 additions & 49 deletions docs/public-networks/reference/api/debug/trace.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,13 @@ Reruns the transaction with the same state as when the transaction executed.

- `failed`: _boolean_ - True if transaction failed, otherwise, false.

- `returnValue`: _string_ - Bytes returned from transaction execution (without a `0x` prefix).
- `returnValue`: _string_ - Bytes returned from transaction execution, as a hex
string with a `0x` prefix.
Empty output is `"0x"`.

- `structLogs`: _array_ - Array of structured log objects.
Empty when the executed code is empty (for example, a plain value transfer
between two externally owned accounts (EOAs)).

<Fields>

Expand Down Expand Up @@ -323,7 +327,7 @@ curl -X POST http://127.0.0.1:8545/ \
"result": {
"gas": 21000,
"failed": false,
"returnValue": "",
"returnValue": "0x",
"structLogs": [
{
"pc": 100,
Expand Down Expand Up @@ -382,9 +386,13 @@ Returns full trace of all invoked opcodes of all transactions included in the bl

- `failed`: _boolean_ - True if transaction failed, otherwise, false.

- `returnValue`: _string_ - Bytes returned from transaction execution (without a `0x` prefix).
- `returnValue`: _string_ - Bytes returned from transaction execution, as a hex
string with a `0x` prefix.
Empty output is `"0x"`.

- `structLogs`: _array_ - Array of structured log objects.
Empty when the executed code is empty (for example, a plain value transfer
between two externally owned accounts (EOAs)).

<Fields>

Expand Down Expand Up @@ -457,17 +465,8 @@ curl -X POST http://127.0.0.1:8545/ \
"result": {
"gas": 21000,
"failed": false,
"returnValue": "",
"structLogs": [
{
"pc": 0,
"op": "STOP",
"gas": 0,
"gasCost": 0,
"depth": 1,
"stack": []
}
]
"returnValue": "0x",
"structLogs": []
}
}
```
Expand Down Expand Up @@ -515,9 +514,13 @@ Returns full trace of all invoked opcodes of all transactions included in the bl

- `failed`: _boolean_ - True if transaction failed, otherwise, false.

- `returnValue`: _string_ - Bytes returned from transaction execution (without a `0x` prefix).
- `returnValue`: _string_ - Bytes returned from transaction execution, as a hex
string with a `0x` prefix.
Empty output is `"0x"`.

- `structLogs`: _array_ - Array of structured log objects.
Empty when the executed code is empty (for example, a plain value transfer
between two externally owned accounts (EOAs)).

<Fields>

Expand Down Expand Up @@ -591,17 +594,8 @@ curl -X POST http://127.0.0.1:8545/ \
{
"gas": 21000,
"failed": false,
"returnValue": "",
"structLogs": [
{
"pc": 0,
"op": "STOP",
"gas": 0,
"gasCost": 0,
"depth": 1,
"stack": []
}
]
"returnValue": "0x",
"structLogs": []
}
]
}
Expand Down Expand Up @@ -656,9 +650,13 @@ Returns full trace of all invoked opcodes of all transactions included in the bl

- `failed`: _boolean_ - True if transaction failed, otherwise, false.

- `returnValue`: _string_ - Bytes returned from transaction execution (without a `0x` prefix).
- `returnValue`: _string_ - Bytes returned from transaction execution, as a hex
string with a `0x` prefix.
Empty output is `"0x"`.

- `structLogs`: _array_ - Array of structured log objects.
Empty when the executed code is empty (for example, a plain value transfer
between two externally owned accounts (EOAs)).

<Fields>

Expand Down Expand Up @@ -738,17 +736,8 @@ curl -X POST http://127.0.0.1:8545/ \
{
"gas": 21000,
"failed": false,
"returnValue": "",
"structLogs": [
{
"pc": 0,
"op": "STOP",
"gas": 0,
"gasCost": 0,
"depth": 1,
"stack": []
}
]
"returnValue": "0x",
"structLogs": []
}
]
}
Expand Down Expand Up @@ -862,9 +851,13 @@ temporary state changes without affecting the actual blockchain state.

- `failed`: _boolean_ - True if transaction failed, otherwise, false.

- `returnValue`: _string_ - Bytes returned from transaction execution (without a `0x` prefix).
- `returnValue`: _string_ - Bytes returned from transaction execution, as a hex
string with a `0x` prefix.
Empty output is `"0x"`.

- `structLogs`: _array_ - Array of structured log objects.
Empty when the executed code is empty (for example, a plain value transfer
between two externally owned accounts (EOAs)).

<Fields>

Expand Down Expand Up @@ -950,16 +943,8 @@ curl -X POST http://127.0.0.1:8545/ \
{
"gas": 21000,
"failed": false,
"returnValue": "",
"structLogs": [
{
"pc": 0,
"op": "STOP",
"gas": 0,
"gasCost": 0,
"depth": 1
}
]
"returnValue": "0x",
"structLogs": []
}
]
}
Expand Down
Loading