⚡ We welcome businesses to test our enterprise-grade service

/

BNB Smart Chain (BSC)

bsc
BNB Smart Chain (BSC)

Method: POST web3_clientVersion

dropdown

Method RPC web3_clientVersion example for BNB Smart Chain (BSC)

POST web3_clientVersion

Returns the current client version.

Parameters

-

Request

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


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "Geth/v1.0.7-f1d92bef/linux-amd64/go1.15.5"
}