Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix param description format for finality apis #457

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions docs/bnb-smart-chain/developers/json_rpc_apis/finality-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ Economic Finality refers to the high cost associated with reverting a block. In

### [eth_getHeaderByNumber](<https://www.quicknode.com/docs/kaia/eth_getHeaderByNumber>) as in the Ethereum client.
**Parameters**
1. QUANTITY|TAG

QUANTITY|TAG

* HEX String - an integer block number
* String "earliest" for the earliest/genesis block
* String "latest" - for the latest mined block
Expand All @@ -23,13 +25,18 @@ Economic Finality refers to the high cost associated with reverting a block. In

### [eth_getBlockByNumber](<https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbynumber>) as in the Ethereum client.
**Parameters**
1. QUANTITY|TAG

QUANTITY|TAG

* HEX String - an integer block number
* String "earliest" for the earliest/genesis block
* String "latest" - for the latest mined block
* String "safe" - for the latest justified head block
* String "**finalized**" - for the latest finalized block
2. Boolean - If true it returns the full transaction objects, if false only the hashes of the transactions.

Boolean

- If true it returns the full transaction objects, if false only the hashes of the transactions.

### eth_newFinalizedHeaderFilter
Here are two APIs that can help you trace the latest finalized blocks:
Expand Down
Loading