跳转到内容

eth_getFinalizedBlock

此内容尚不支持你的语言。

Returns the latest finalized block.

ParameterTypeRequiredDescription
finalityTypestringNo”fast” or “probabilistic”
fullTransactionsbooleanNoInclude full tx objects
{
"jsonrpc": "2.0",
"method": "eth_getFinalizedBlock",
"params": [
"fast",
false
],
"id": 1
}
Terminal window
curl -X POST https://bsc-mainnet.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getFinalizedBlock","params":["fast",false],"id":1}'