Skip to content

Commit 5a9bccb

Browse files
committed
feat(schema): add eth_getRequiredBlockState method
1 parent 9c873c2 commit 5a9bccb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/eth/state.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,23 @@
8484
name: Account
8585
schema:
8686
$ref: '#/components/schemas/AccountProof'
87+
- name: eth_getRequiredBlockState
88+
summary: Returns state required to re-execute a block.
89+
description: Returns the RequiredBlockState (SSZ- and snappy-encoded) which contains block prestate and proof data.
90+
params:
91+
- name: Block
92+
required: true
93+
schema:
94+
$ref: '#/components/schemas/BlockNumberOrTag'
95+
- name: Hydrated transactions
96+
required: true
97+
schema:
98+
title: hydrated
99+
type: boolean
100+
result:
101+
name: Required block state
102+
description: The RequiredBlockState (SSZ- and snappy-encoded) which contains block prestate and proof data.
103+
schema:
104+
oneOf:
105+
- $ref: '#/components/schemas/notFound'
106+
- $ref: '#/components/schemas/bytes'

0 commit comments

Comments
 (0)