Skip to content
Open
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
208 changes: 110 additions & 98 deletions src/openrpc/chains/_components/arbtrace/methods.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,25 +226,25 @@ components:
- name: arbtrace_block example
params:
- name: Block number
value: "0x152DD07"
value: "0x152dd07"
result:
name: Block traces
value:
- action:
callType: "call"
from: "0x00000000000000000000000000000000000a4b05"
gas: "0x0"
input: "0x"
to: "0xa4b05fffffffffffffffffffffffffffffffffff"
from: "0xc31e54c7a869b9fcbecc14363cf510d1c41fa443"
gas: "0x57016"
input: "0xa9059cbb00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc450000000000000000000000000000000000000000000000000038e8437b0a7650"
to: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
value: "0x0"
blockHash: "0x5765e1e12766c561a99f2eca6be6dba225e5e2dbecc1c52c59dfd21f3c39071c"
blockHash: "0x500a158aba7d86a04135a9a86b7c3ab650a9c80cffebe969e93fa72357c9e682"
blockNumber: 22207751
result:
gasUsed: "0x0"
output: "0x"
subtraces: 0
traceAddress: []
transactionHash: "0xd2ea43b18e2f0acb66b36e773f20a4e9a1ee2df00a9794f63c2f4d0519cbe12a"
gasUsed: "0xc8d2"
output: "0x0000000000000000000000000000000000000000000000000000000000000001"
subtraces: 1
traceAddress: [0, 0, 0]
transactionHash: "0xe749c9fc0d9c613378ae9112efb4d8fab18bd63f9f10e4598f7407ba1124cd38"
transactionPosition: 0
type: "call"

Expand Down Expand Up @@ -287,33 +287,46 @@ components:
params:
- name: Transaction
value:
from: "0x1234567890abcdef1234567890abcdef12345678"
to: "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"
from: "0xdf59b7740f4c5038b5fa6e46eae38ffd201b22a8"
to: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8"
value: "0x0"
data: "0x70a08231000000000000000000000000abcdefabcdefabcdefabcdefabcdefabcdefabcd"
data: "0x18160ddd"
- name: Trace types
value: ["trace"]
- name: Block number
value: "0x152DD07"
value: "0x152dd07"
result:
name: Trace result
value:
output: "0x0000000000000000000000000000000000000000000000000000000000000000"
output: "0x0000000000000000000000000000000000000000000000000002fa3a928cba1e"
stateDiff: null
trace:
- action:
callType: "call"
from: "0x1234567890abcdef1234567890abcdef12345678"
gas: "0x2faf080"
input: "0x70a08231000000000000000000000000abcdefabcdefabcdefabcdefabcdefabcdefabcd"
to: "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"
from: "0xdf59b7740f4c5038b5fa6e46eae38ffd201b22a8"
gas: "0x7fffffff"
input: "0x18160ddd"
to: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8"
value: "0x0"
result:
gasUsed: "0x565"
output: "0x0000000000000000000000000000000000000000000000000000000000000000"
subtraces: 0
gasUsed: "0x34f"
output: "0x0000000000000000000000000000000000000000000000000002fa3a928cba1e"
subtraces: 1
traceAddress: []
type: "call"
- action:
callType: "delegatecall"
from: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8"
gas: "0x7dfffe49"
input: "0x18160ddd"
to: "0x1efb3f88bc88f03fd1804a5c53b7141bbef5ded8"
value: "0x0"
result:
gasUsed: "0x123"
output: "0x0000000000000000000000000000000000000000000000000002fa3a928cba1e"
subtraces: 0
traceAddress: [0]
type: "call"
vmTrace: null

arbtrace_callMany:
Expand Down Expand Up @@ -359,52 +372,52 @@ components:
params:
- name: Calls
value:
- - from: "0x1234567890abcdef1234567890abcdef12345678"
to: "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"
- - from: "0xdf59b7740f4c5038b5fa6e46eae38ffd201b22a8"
to: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8"
value: "0x0"
data: "0x70a08231000000000000000000000000abcdefabcdefabcdefabcdefabcdefabcdefabcd"
data: "0x18160ddd"
- ["trace"]
- - from: "0x1234567890abcdef1234567890abcdef12345678"
to: "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"
- - from: "0xdf59b7740f4c5038b5fa6e46eae38ffd201b22a8"
to: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
value: "0x0"
data: "0x18160ddd"
- ["trace"]
- name: Block number
value: "0x152DD07"
value: "0x152dd07"
result:
name: Trace results
value:
- output: "0x0000000000000000000000000000000000000000000000000000000000000000"
- output: "0x0000000000000000000000000000000000000000000000000002fa3a928cba1e"
stateDiff: null
trace:
- action:
callType: "call"
from: "0x1234567890abcdef1234567890abcdef12345678"
gas: "0x2faf080"
input: "0x70a08231000000000000000000000000abcdefabcdefabcdefabcdefabcdefabcdefabcd"
to: "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"
from: "0xdf59b7740f4c5038b5fa6e46eae38ffd201b22a8"
gas: "0x7fffffff"
input: "0x18160ddd"
to: "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8"
value: "0x0"
result:
gasUsed: "0x565"
output: "0x0000000000000000000000000000000000000000000000000000000000000000"
subtraces: 0
gasUsed: "0x34f"
output: "0x0000000000000000000000000000000000000000000000000002fa3a928cba1e"
subtraces: 1
traceAddress: []
type: "call"
vmTrace: null
- output: "0x0000000000000000000000000000000000000000000000000000000000000000"
- output: "0x0000000000000000000000000000000000000000000020ef98ea44ad05e56a14"
stateDiff: null
trace:
- action:
callType: "call"
from: "0x1234567890abcdef1234567890abcdef12345678"
gas: "0x2faf080"
from: "0xdf59b7740f4c5038b5fa6e46eae38ffd201b22a8"
gas: "0x7fffffff"
input: "0x18160ddd"
to: "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"
to: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
value: "0x0"
result:
gasUsed: "0x4a2"
output: "0x0000000000000000000000000000000000000000000000000000000000000000"
subtraces: 0
gasUsed: "0x333"
output: "0x0000000000000000000000000000000000000000000020ef98ea44ad05e56a14"
subtraces: 1
traceAddress: []
type: "call"
vmTrace: null
Expand Down Expand Up @@ -437,31 +450,30 @@ components:
params:
- name: Filter
value:
fromBlock: "0x152DD07"
toBlock: "0x152DD07"
fromBlock: "0x152dd07"
toBlock: "0x152dd07"
fromAddress:
- "0x00000000000000000000000000000000000a4b05"
toAddress: []
- "0xc31e54c7a869b9fcbecc14363cf510d1c41fa443"
after: 0
count: 10
count: 3
result:
name: Filtered traces
value:
- action:
callType: "call"
from: "0x00000000000000000000000000000000000a4b05"
gas: "0x0"
input: "0x"
to: "0xa4b05fffffffffffffffffffffffffffffffffff"
from: "0xc31e54c7a869b9fcbecc14363cf510d1c41fa443"
gas: "0x57016"
input: "0xa9059cbb00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc450000000000000000000000000000000000000000000000000038e8437b0a7650"
to: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
value: "0x0"
blockHash: "0x5765e1e12766c561a99f2eca6be6dba225e5e2dbecc1c52c59dfd21f3c39071c"
blockHash: "0x500a158aba7d86a04135a9a86b7c3ab650a9c80cffebe969e93fa72357c9e682"
blockNumber: 22207751
result:
gasUsed: "0x0"
output: "0x"
subtraces: 0
traceAddress: []
transactionHash: "0xd2ea43b18e2f0acb66b36e773f20a4e9a1ee2df00a9794f63c2f4d0519cbe12a"
gasUsed: "0xc8d2"
output: "0x0000000000000000000000000000000000000000000000000000000000000001"
subtraces: 1
traceAddress: [0, 0, 0]
transactionHash: "0xe749c9fc0d9c613378ae9112efb4d8fab18bd63f9f10e4598f7407ba1124cd38"
transactionPosition: 0
type: "call"

Expand Down Expand Up @@ -498,28 +510,28 @@ components:
- name: arbtrace_get example
params:
- name: Transaction hash
value: "0xd2ea43b18e2f0acb66b36e773f20a4e9a1ee2df00a9794f63c2f4d0519cbe12a"
value: "0xe749c9fc0d9c613378ae9112efb4d8fab18bd63f9f10e4598f7407ba1124cd38"
- name: Trace address
value: ["0x0"]
result:
name: Trace
value:
action:
callType: "call"
from: "0x00000000000000000000000000000000000a4b05"
gas: "0x0"
input: "0x"
to: "0xa4b05fffffffffffffffffffffffffffffffffff"
callType: "delegatecall"
from: "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45"
gas: "0x5b81b"
input: "0x04e45aaf000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc800000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab100000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000001841de500000000000000000000000000000000000000000000000000385808596015730000000000000000000000000000000000000000000000000000000000000000"
to: "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45"
value: "0x0"
blockHash: "0x5765e1e12766c561a99f2eca6be6dba225e5e2dbecc1c52c59dfd21f3c39071c"
blockHash: "0x500a158aba7d86a04135a9a86b7c3ab650a9c80cffebe969e93fa72357c9e682"
blockNumber: 22207751
result:
gasUsed: "0x0"
output: "0x"
subtraces: 0
gasUsed: "0xfff7"
output: "0x0000000000000000000000000000000000000000000000000038e8437b0a7650"
subtraces: 1
traceAddress:
- 0
transactionHash: "0xd2ea43b18e2f0acb66b36e773f20a4e9a1ee2df00a9794f63c2f4d0519cbe12a"
transactionHash: "0xe749c9fc0d9c613378ae9112efb4d8fab18bd63f9f10e4598f7407ba1124cd38"
transactionPosition: 0
type: "call"

Expand Down Expand Up @@ -558,26 +570,26 @@ components:
- name: arbtrace_replayBlockTransactions example
params:
- name: Block number
value: "0x152DD07"
value: "0x152dd07"
- name: Trace types
value: ["trace"]
result:
name: Block transaction traces
value:
- output: "0x"
- output: "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000038e8437b0a76500000000000000000000000000000000000000000000000000000000000000000"
stateDiff: null
trace:
- action:
callType: "call"
from: "0x00000000000000000000000000000000000a4b05"
gas: "0x0"
input: "0x"
to: "0xa4b05fffffffffffffffffffffffffffffffffff"
from: "0xdf59b7740f4c5038b5fa6e46eae38ffd201b22a8"
gas: "0x5d2d5"
input: "0x5ae401dc"
to: "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45"
value: "0x0"
result:
gasUsed: "0x0"
output: "0x"
subtraces: 0
gasUsed: "0x4f14"
output: "0x0000000000000000000000000000000000000000000000000038e8437b0a7650"
subtraces: 2
traceAddress: []
type: "call"
vmTrace: null
Expand Down Expand Up @@ -613,26 +625,26 @@ components:
- name: arbtrace_replayTransaction example
params:
- name: Transaction hash
value: "0xd2ea43b18e2f0acb66b36e773f20a4e9a1ee2df00a9794f63c2f4d0519cbe12a"
value: "0xe749c9fc0d9c613378ae9112efb4d8fab18bd63f9f10e4598f7407ba1124cd38"
- name: Trace types
value: ["trace"]
result:
name: Trace result
value:
output: "0x"
output: "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000038e8437b0a76500000000000000000000000000000000000000000000000000000000000000000"
stateDiff: null
trace:
- action:
callType: "call"
from: "0x00000000000000000000000000000000000a4b05"
gas: "0x0"
input: "0x"
to: "0xa4b05fffffffffffffffffffffffffffffffffff"
from: "0xdf59b7740f4c5038b5fa6e46eae38ffd201b22a8"
gas: "0x5d2d5"
input: "0x5ae401dc"
to: "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45"
value: "0x0"
result:
gasUsed: "0x0"
output: "0x"
subtraces: 0
gasUsed: "0x4f14"
output: "0x0000000000000000000000000000000000000000000000000038e8437b0a7650"
subtraces: 2
traceAddress: []
type: "call"
vmTrace: null
Expand Down Expand Up @@ -663,24 +675,24 @@ components:
- name: arbtrace_transaction example
params:
- name: Transaction hash
value: "0xd2ea43b18e2f0acb66b36e773f20a4e9a1ee2df00a9794f63c2f4d0519cbe12a"
value: "0xe749c9fc0d9c613378ae9112efb4d8fab18bd63f9f10e4598f7407ba1124cd38"
result:
name: Transaction traces
value:
- action:
callType: "call"
from: "0x00000000000000000000000000000000000a4b05"
gas: "0x0"
input: "0x"
to: "0xa4b05fffffffffffffffffffffffffffffffffff"
from: "0xdf59b7740f4c5038b5fa6e46eae38ffd201b22a8"
gas: "0x5d2d5"
input: "0x5ae401dc"
to: "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45"
value: "0x0"
blockHash: "0x5765e1e12766c561a99f2eca6be6dba225e5e2dbecc1c52c59dfd21f3c39071c"
blockHash: "0x500a158aba7d86a04135a9a86b7c3ab650a9c80cffebe969e93fa72357c9e682"
blockNumber: 22207751
result:
gasUsed: "0x0"
output: "0x"
subtraces: 0
gasUsed: "0x4f14"
output: "0x0000000000000000000000000000000000000000000000000038e8437b0a7650"
subtraces: 2
traceAddress: []
transactionHash: "0xd2ea43b18e2f0acb66b36e773f20a4e9a1ee2df00a9794f63c2f4d0519cbe12a"
transactionHash: "0xe749c9fc0d9c613378ae9112efb4d8fab18bd63f9f10e4598f7407ba1124cd38"
transactionPosition: 0
type: "call"
Loading