/

Binance Smart Chain (BSC)

bsc

Binance Smart Chain (BSC)

Method: POST getBlockByHash

dropdown

POST getBlockByHash

Returns information about the block by hash.

Parameters

DATA - None

32-byte hash of a block.

Boolean - None

If true, returns the full transaction objects; if false, returns the transaction hashes.

Request

curl --location --request POST 'https://bsc.getblock.io' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "eth_getBlockByHash",
"params": ["0xc48fb64230a82f65a08e7280bd8745e7fea87bc7c206309dee32209fe9a985f7", false],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": null
}
GetBlock.io

Get access to 40+ blockchain nodes right now! GetBlock provides a fast and reliable connection for the most popular cryptocurrencies` nodes.

Subscribe

Email is invalid

Products
For developers
Contact

Technical support:

support@getblock.io

General inquiries:

marketing@getblock.io

To contact Us:

Schedule a Call

2019 - 2021 GetBlock