Skip to content

Commit

Permalink
Merge pull request ethereum#228 from shemnon/block-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient authored May 25, 2022
2 parents b757164 + 468164a commit 985c936
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/eth/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"summary": "Returns information about a block by number.",
"params": [
{
"name": "Block number",
"name": "Block",
"required": true,
"schema": {
"$ref": "#/components/schemas/uint"
"$ref": "#/components/schemas/BlockNumberOrTag"
}
},
{
Expand Down Expand Up @@ -80,9 +80,9 @@
"summary": "Returns the number of transactions in a block matching the given block number.",
"params": [
{
"name": "Block number",
"name": "Block",
"schema": {
"$ref": "#/components/schemas/uint"
"$ref": "#/components/schemas/BlockNumberOrTag"
}
}
],
Expand Down Expand Up @@ -124,9 +124,9 @@
"summary": "Returns the number of transactions in a block matching the given block number.",
"params": [
{
"name": "Block number",
"name": "Block",
"schema": {
"$ref": "#/components/schemas/uint"
"$ref": "#/components/schemas/BlockNumberOrTag"
}
}
],
Expand Down
4 changes: 2 additions & 2 deletions src/eth/transaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"summary": "Returns information about a transaction by block number and transaction index position.",
"params": [
{
"name": "Block number",
"name": "Block",
"required": true,
"schema": {
"$ref": "#/components/schemas/uint"
"$ref": "#/components/schemas/BlockNumberOrTag"
}
},
{
Expand Down

0 comments on commit 985c936

Please sign in to comment.