Skip to content

Commit cb62356

Browse files
committed
fix(schema): Add block to eth_getAddressesInBlock
1 parent a8b0793 commit cb62356

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

src/schemas/address.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
11
BlockAddresses:
22
type: object
3-
title: Address appearance
4-
description: An address that appears in one or more transactions in a block
3+
title: Block addresses
4+
description: Addresses that appear in a single block
5+
required:
6+
- addresses
7+
- blockNumber
8+
additionalProperties: false
9+
properties:
10+
addresses:
11+
title: Block addresses
12+
type: array
13+
$ref: '#/components/schemas/AddressBlockAppearances'
14+
blockNumber:
15+
title: Block number
16+
$ref: '#/components/schemas/uint'
17+
AddressBlockAppearances:
18+
type: object
19+
title: Address appearances in a single block
20+
description: An address that appears in one or more locations in a block
521
required:
622
- address
723
- indices

0 commit comments

Comments
 (0)