📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

/

BNB Smart Chain (BSC)

bsc
BNB Smart Chain (BSC)

Method: POST web3_clientVersion

dropdown

方法 RPC web3_clientVersion 例如 BNB Smart Chain (BSC)

POST web3_clientVersion

返回当前客户端版本。

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"
}