Skip to content

Commit d21439c

Browse files
Added notes callouts for latest block and other limitations (#412)
* Added notes callouts for latest block and other limitations * Reverting my pnpm change --------- Co-authored-by: Sahil Aujla <[email protected]>
1 parent b21d975 commit d21439c

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

src/openrpc/chains/hyperevm/hyperevm.yaml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,9 @@ methods:
358358
# Execute methods
359359
# --------------------------------------------------------------------------
360360
- name: eth_call
361-
description: Executes a new message call immediately without creating a transaction on the blockchain.
361+
description: |
362+
<Note>Currently only works on the latest block.</Note>
363+
Executes a new message call immediately without creating a transaction on the blockchain.
362364
params:
363365
- name: Transaction
364366
required: true
@@ -389,7 +391,9 @@ methods:
389391
value: "0x"
390392

391393
- name: eth_estimateGas
392-
description: Generates and returns an estimate of how much gas is necessary to allow the transaction to complete.
394+
description: |
395+
<Note>Currently only works on the latest block.</Note>
396+
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete.
393397
params:
394398
- name: Transaction
395399
required: true
@@ -569,19 +573,8 @@ methods:
569573
# --------------------------------------------------------------------------
570574
- name: eth_getLogs
571575
description: |
576+
<Note>Currently only supports up to 4 topics and a range up to 50 blocks.</Note>
572577
Returns an array of all logs matching the specified filter.
573-
### Supported Block Ranges
574-
Here are the block ranges you're able to submit in a single query, depending on your plan tier:
575-
576-
> ⚠️ Note: All responses will be capped at 150MB.
577-
578-
| Chain | Free | Pay As You Go | Enterprise |
579-
|-------|------|---------------|------------|
580-
| Ethereum and Layer 2s (Ethereum, Base, Optimism, Arbitrum, Worldchain) | unlimited | unlimited | unlimited |
581-
| Polygon | 500 | 2000 | unlimited |
582-
| Monad | 500 | 1000 | unlimited |
583-
| BSC | 500 | 10000 | 10000 |
584-
| All Other Chains | 500 | 10000 | unlimited |
585578
params:
586579
- name: Filter
587580
required: true
@@ -620,7 +613,9 @@ methods:
620613
# State methods
621614
# --------------------------------------------------------------------------
622615
- name: eth_getBalance
623-
description: Returns the balance of the account of a given address.
616+
description: |
617+
<Note>Currently only works on the latest block.</Note>
618+
Returns the balance of the account of a given address.
624619
params:
625620
- name: Address
626621
required: true
@@ -649,7 +644,9 @@ methods:
649644
value: "0x1cfe56f3795885980000"
650645

651646
- name: eth_getStorageAt
652-
description: Returns the value from a storage position at a given address.
647+
description: |
648+
<Note>Currently only works on the latest block.</Note>
649+
Returns the value from a storage position at a given address.
653650
params:
654651
- name: Address
655652
required: true
@@ -685,7 +682,9 @@ methods:
685682
value: "0x0000000000000000000000000000000000000000000000000000000000000000"
686683

687684
- name: eth_getTransactionCount
688-
description: Returns the number of transactions sent from an address.
685+
description: |
686+
<Note>Currently only works on the latest block.</Note>
687+
Returns the number of transactions sent from an address.
689688
params:
690689
- name: Address
691690
required: true
@@ -714,7 +713,9 @@ methods:
714713
value: "0x1"
715714

716715
- name: eth_getCode
717-
description: Returns the code at a given address.
716+
description: |
717+
<Note>Currently only works on the latest block.</Note>
718+
Returns the code at a given address.
718719
params:
719720
- name: Address
720721
required: true

0 commit comments

Comments
 (0)