Skip to content

Commit

Permalink
fix(schema): Add block to eth_getAddressesInBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
perama-v committed Aug 3, 2023
1 parent a8b0793 commit cb62356
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
20 changes: 18 additions & 2 deletions src/schemas/address.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
BlockAddresses:
type: object
title: Address appearance
description: An address that appears in one or more transactions in a block
title: Block addresses
description: Addresses that appear in a single block
required:
- addresses
- blockNumber
additionalProperties: false
properties:
addresses:
title: Block addresses
type: array
$ref: '#/components/schemas/AddressBlockAppearances'
blockNumber:
title: Block number
$ref: '#/components/schemas/uint'
AddressBlockAppearances:
type: object
title: Address appearances in a single block
description: An address that appears in one or more locations in a block
required:
- address
- indices
Expand Down
Loading

0 comments on commit cb62356

Please sign in to comment.