Skip to content

Commit f862d1a

Browse files
Apply suggestions from code review
1 parent 87eb05d commit f862d1a

File tree

5 files changed

+13
-16
lines changed

5 files changed

+13
-16
lines changed

services/reference/unichain/json-rpc-methods/_eth_unichain-call-parameters.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
- `to`: 20 bytes - Address the transaction is directed to.
33
- `gas`: Hexadecimal value of the gas provided for the transaction execution. `eth_call` consumes zero gas, but this parameter may be needed by some executions.
44
- `gasPrice`: Hexadecimal value of the `gasPrice` used for each paid gas.
5-
- `maxPriorityFeePerGas`: Maximum fee, in Wei, the sender is willing to pay per gas above the base fee. See [EIP-1559 transactions](../../ethereum/concepts/transaction-types.md#eip-1559-transactions).
6-
- `maxFeePerGas`: Maximum total fee (base fee + priority fee), in Wei, the sender is willing to pay per gas. See [EIP-1559 transactions](../../ethereum/concepts/transaction-types.md#eip-1559-transactions).
5+
- `maxPriorityFeePerGas`: Maximum fee, in wei, the sender is willing to pay per gas above the base fee. See [EIP-1559 transactions](../../concepts/transaction-types.md#eip-1559-transactions).
6+
- `maxFeePerGas`: Maximum total fee (base fee + priority fee), in wei, the sender is willing to pay per gas. See [EIP-1559 transactions](../../concepts/transaction-types.md#eip-1559-transactions).
77
- `value`: Hexadecimal of the value sent with this transaction.
88
- `data`: Hash of the method signature and encoded parameters. See [Ethereum contract ABI specification](https://docs.soliditylang.org/en/latest/abi-spec.html).
99
- `blockParameter`: (string) [_required_] A hexadecimal block number, or one of the tags `latest`, `earliest`, `pending` or `finalized`. See the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block).

services/reference/unichain/json-rpc-methods/_eth_unichain-estimategas-parameters.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
- `gas`: _\[optional]_ Hexadecimal value of the gas provided for the transaction execution. `eth_estimateGas` consumes
55
zero gas, but this parameter may be needed by some executions.
66
- `gasPrice`: _\[optional]_ Hexadecimal value of the gas price used for each paid gas.
7-
- `maxPriorityFeePerGas`: _\[optional]_ Maximum fee, in Wei, the sender is willing to pay per gas
7+
- `maxPriorityFeePerGas`: _\[optional]_ Maximum fee, in wei, the sender is willing to pay per gas
88
above the base fee.
99
See [EIP-1559 transactions](../../ethereum/concepts/transaction-types.md#eip-1559-transactions).
10-
- `maxFeePerGas`: _\[optional]_ Maximum total fee (base fee + priority fee), in Wei, the sender is
10+
- `maxFeePerGas`: _\[optional]_ Maximum total fee (base fee + priority fee), in wei, the sender is
1111
willing to pay per gas.
1212
See [EIP-1559 transactions](../../ethereum/concepts/transaction-types.md#eip-1559-transactions).
1313
- `value`: _\[optional]_ Hexadecimal value of the value sent with this transaction.

services/reference/unichain/json-rpc-methods/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ Specific types of values passed to and returned from Ethereum RPC methods requir
9191
A `Quantity` (integer, number) must:
9292

9393
- Be hex-encoded.
94-
- Be "0x"-prefixed.
94+
- Be `0x`-prefixed.
9595
- Be expressed using the fewest possible hex digits per byte.
96-
- Express zero as "0x0".
96+
- Express zero as `0x0`.
9797

9898
Examples `Quantity` values:
9999

@@ -132,7 +132,7 @@ Since there is no way to clearly distinguish between a `Data` parameter and a `Q
132132
A `Data` value (for example, byte arrays, account addresses, hashes, and bytecode arrays) must:
133133

134134
- Be hex-encoded.
135-
- Be "0x"-prefixed.
135+
- Be `0x`-prefixed.
136136
- Be expressed using two hex digits per byte.
137137

138138
Examples `Data` values:

services/reference/unichain/json-rpc-methods/web3_sha3.mdx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ title: "web3_sha3"
55
import Tabs from "@theme/Tabs"
66
import TabItem from "@theme/TabItem"
77

8-
9-
### `web3_sha3`
10-
11-
Returns a [SHA3](https://en.wikipedia.org/wiki/SHA-3) hash of the specified data. The result value is a [Keccak-256](https://keccak.team/keccak.html) hash, not the standardized SHA3-256.
8+
Returns a [SHA-3](https://en.wikipedia.org/wiki/SHA-3) hash of the specified data. The result value is a [Keccak-256](https://keccak.team/keccak.html) hash, not the standardized SHA3-256.
129

1310
## Parameters
1411

@@ -32,9 +29,9 @@ import Example from "/services/reference/_partials/_web3_clientversion-example.m
3229

3330
```bash
3431
curl https://unichain-sepolia.infura.io/v3/YOUR-API-KEY \
35-
-X POST \
36-
-H "Content-Type: application/json" \
37-
-d '{"jsonrpc": "2.0", "method": "web3_sha3", "params":["0x68656c6c6f20776f726c00"], "id": 1}'
32+
-X POST \
33+
-H "Content-Type: application/json" \
34+
-d '{"jsonrpc": "2.0", "method": "web3_sha3", "params":["0x68656c6c6f20776f726c00"], "id": 1}'
3835
```
3936

4037
</TabItem>

services/reference/unichain/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Banner from '@site/src/components/Banner'
1010
This quickstart guide will help you set up and make calls on the Unichain network using the Infura endpoints.
1111

1212
<Banner>
13-
Don't have an Infura account? Sign up for our free plan and start using the Unichain network!
13+
Don't have an Infura account? Sign up for a free plan and start using the Unichain network!
1414
</Banner>
1515

1616
## Prerequisites
@@ -40,7 +40,7 @@ In Windows Powershell, quotations in `curl` commands can behave differently than
4040

4141
Call the JSON-RPC methods using [Postman](https://learning.postman.com/docs/getting-started/introduction/).
4242

43-
Click **Run in Postman** to fork the collection and make requests.
43+
Select **Run in Postman** to fork the collection and make requests.
4444

4545
[![Run in Postman](https://run.pstmn.io/button.svg)](https://god.gw.postman.com/run-collection/8171681-49bfbc10-85ae-466c-8cf0-91eba9298b12?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D8171681-49bfbc10-85ae-466c-8cf0-91eba9298b12%26entityType%3Dcollection%26workspaceId%3Db8156083-f4da-481f-84fa-72dcc26cb146)
4646

0 commit comments

Comments
 (0)