Web3 HTTP driver

POST {{baseUrl}}/v3/xdc/web3/:xApiKey

2 credits per API call.


Use this endpoint URL as a http-based web3 driver to connect directly to the XDC node provided by Tatum. To learn more about XDC Web3, please visit XDC developer's guide.

Request Body

{"jsonrpc"=>"2.0", "method"=>"web3_clientVersion", "id"=>2}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}