You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/bnb-smart-chain/developers/json_rpc/bsc-api-list.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,10 @@ This will return block hashes:
63
63
These methods allow you to handle block finality using a straightforward API.
64
64
65
65
### eth_getFinalizedHeader
66
-
*`verifiedValidatorNum` must be within the range [1, len(currentValidators)].
66
+
*`verifiedValidatorNum` must be within the range `[1, len(currentValidators)]`,with the exception that:
67
+
-`-1` represents at least `len(currentValidators) * 1/2`
68
+
-`-2` represents at least `len(currentValidators) * 2/3`
69
+
-`-3` represents at least `len(currentValidators)`
67
70
* This function calculates `probabilisticFinalizedHeight` as the highest height of the block verified by `verifiedValidatorNum` validators and then returns the block header with a height equal to `max(fastFinalizedHeight, probabilisticFinalizedHeight)`.
68
71
* The height of the returned block header is guaranteed to increase monotonically.
*`verifiedValidatorNum` must be within the range [1, len(currentValidators)].
78
+
*`verifiedValidatorNum` must be within the range `[1, len(currentValidators)]`,with the exception that:
79
+
-`-1` represents at least `len(currentValidators) * 1/2`
80
+
-`-2` represents at least `len(currentValidators) * 2/3`
81
+
-`-3` represents at least `len(currentValidators)`
76
82
* This function calculates `probabilisticFinalizedHeight` as the highest height of the block verified by `verifiedValidatorNum` validators and then returns the block header with a height equal to `max(fastFinalizedHeight, probabilisticFinalizedHeight)`.
77
83
* If `fullTx` is true, the block includes all transactions; otherwise, only transaction hashes are included.
78
84
* The height of the returned block is guaranteed to be monotonically increasing.
0 commit comments