Skip to content

Commit

Permalink
fix param description format for finality apis
Browse files Browse the repository at this point in the history
  • Loading branch information
buddh0 committed Sep 5, 2024
1 parent aab85a6 commit 293b156
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 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,21 +14,24 @@ 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
* 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
- 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

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

1. 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
- 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.

### eth_newFinalizedHeaderFilter
Expand Down

0 comments on commit 293b156

Please sign in to comment.