Skip to content

Commit

Permalink
Fix typos and spelling errors (#1866)
Browse files Browse the repository at this point in the history
* Update dependency_review.yml

* Update _category_.json

* Update _eth_newblockfilter-description.mdx

* Update _trace_callmany-parameters.mdx

* Update _trace_filter-request.mdx

* Update _eth_accounts-description.mdx

* Update _eth_blocknumber-request.mdx

* Update _eth_getblockreceipts-parameters.mdx

---------

Co-authored-by: Alexandra Carrillo <[email protected]>
  • Loading branch information
Danyylka and alexandratran authored Feb 4, 2025
1 parent 6d9a569 commit 1c74421
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependency_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
case:
name: Check for licences not being allowed
name: Check for licenses not being allowed
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"collapsed": true,
"link": {
"type": "generated-index",
"slug": "use-ipfs/access-ips-content",
"slug": "use-ipfs/access-ipfs-content",
"description": "This section provides information about how to access IPFS content."
}
}
2 changes: 1 addition & 1 deletion services/reference/_partials/_eth_accounts-description.mdx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Returns a list of addresses owned by client.
Returns a list of addresses owned by the client.
2 changes: 1 addition & 1 deletion services/reference/_partials/_eth_blocknumber-request.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/<YOUR-API-KEY> \
<TabItem value="WSS">

```bash
wscat -c wss://mainnet.infura.io/ws/v3/<YOUR-API-KEY> -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params":[], "id": 1}'
wscat -c wss://mainnet.infura.io/ws/v3/<YOUR-API-KEY> -x '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}'
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
`blockNumber`:[_Required_] Hexadecimal or decimal integer representing a block number, or one of
`blockNumber`: [_Required_] Hexadecimal or decimal integer representing a block number, or one of
the string tags:
- `latest`
- `earliest`
Expand All @@ -8,4 +8,4 @@

:::note
`pending` returns the same data as `latest`.
:::
:::
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Creates a filter in the node, to notify when a new block arrives. To check if the state has changed, call [`eth_getFilterChanges`](../../ethereum/json-rpc-methods/filter-methods/eth_getfilterchanges.mdx).

:::tip Valid for fifteen minutes
Filter IDs will be valid for up to fifteen minutes, and can polled by any connection using the same `<YOUR-API-KEY>`.
Filter IDs will be valid for up to fifteen minutes, and can be polled by any connection using the same `<YOUR-API-KEY>`.
:::
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- `trace call parameters`: _[Required]_ Array of trace call parameters.
Each trace call parameter itself is an array containing the following:
- `transaction call object`: _[Required]_ Transaction call object containing the same data as in the [`trace_call`](../../ethereum/json-rpc-methods/trace-methods/trace_call.mdx#parameters) parameter.
- `options`:_[Optional]_ An array of tracing options. Tracing options are [`trace`](../../ethereum/json-rpc-methods/trace-methods/index.md#trace) and [`stateDiff`](../../ethereum/json-rpc-methods/trace-methods/index.md#statediff). Specify both options or none.
- `options`: _[Optional]_ An array of tracing options. Tracing options are [`trace`](../../ethereum/json-rpc-methods/trace-methods/index.md#trace) and [`stateDiff`](../../ethereum/json-rpc-methods/trace-methods/index.md#statediff). Specify both options or none.
- `block parameter`: _[Required]_ The hexadecimal block number, or the string `latest`, `earliest`, or `pending`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block). The block parameter is applied uniformly to all trace calls in the `trace call parameters` array.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ curl https://mainnet.infura.io/v3/<YOUR-API-KEY> \
<TabItem value="WSS">

```bash
wscat -c wss://mainnet.infura.io/ws/v3/<YOUR-API-KEY> -x '{"jsonrpc": "2.0", "method": "trace_filter", "params": [{"fromBlock": "0x1", "toBlock": "0x21", "after": 2, "count":2, "fromAddress": ["0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"]}], "id": 415}'
wscat -c wss://mainnet.infura.io/ws/v3/<YOUR-API-KEY> -x '{"jsonrpc": "2.0", "method": "trace_filter", "params": [{"fromBlock": "0x1", "toBlock": "0x21", "after": 2, "count": 2, "fromAddress": ["0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"]}], "id": 415}'
```

</TabItem>
Expand Down

0 comments on commit 1c74421

Please sign in to comment.