Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit cf4c3aa

Browse files
zzGHzzzzGHzz
authored andcommitted
2 parents 24d9c95 + 24658bb commit cf4c3aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const contract = await factory.deploy(...args)
7272
```
7373
Methods `modifyProvider` and `modifyFactory` are used to bypass the Ethereum contract address computation that is incompatible with the Thor protocol.
7474

75-
### Request at a Particular Block Hight
75+
### Request at a particular block hight
7676
APIs `eth_getBalance`, `eth_getCode`, `et_getStorageAt` and `eth_call` allow users to specify a particular block height [1]. To do that, we need to provide a `Net` object when creating a provider:
7777
```ts
7878
import { SimpleNet } from '@vechain/connex-driver'
@@ -158,7 +158,7 @@ Equivalent to `eth_chainId`
158158
Returning string `thor`
159159

160160
## Implementation Notes
161-
1. Here `blockHash` and `transactionHash` equivalent to `blockId` and `transactionId` in the Thor protocol
161+
1. Fields `blockHash` and `transactionHash` return the values of [`blockId`](https://docs.vechain.org/thor/learn/block.html#block) and [`transactionId`](https://docs.vechain.org/thor/learn/transaction-model.html#transaction-id) defined in the Thor protocol, respectively
162162
2. APIs `eth_estimateGas`, `eth_call` and `eth_getTransactionReceipt` only return information associated with the first [clause](https://docs.vechain.org/thor/learn/transaction-model.html#clauses) in a transaction
163163
3. Unsupported returning fields (all set to zero):
164164
* `cumulativeGasUsed`
@@ -174,4 +174,4 @@ This software is licensed under the
174174
[GNU Lesser General Public License v3.0](https://www.gnu.org/licenses/lgpl-3.0.html), also included
175175
in *LICENSE##### file in repository.
176176
## References
177-
[1] [https://eth.wiki/json-rpc/API](https://eth.wiki/json-rpc/API).
177+
[1] [https://eth.wiki/json-rpc/API](https://eth.wiki/json-rpc/API).

0 commit comments

Comments
 (0)