Ethereum - Tatum API

Web3 HTTP driver

/v3/ethereum/web3/{xApiKey}

2 credits per API call

This endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.

Use this endpoint URL as an http-based web3 driver to connect directly to the Ethereum node provided by Tatum. To learn more about Ethereum Web3, visit the Ethereum developers' guide.

post/v3/ethereum/web3/{xApiKey}

Request

  • Base URL
    https://api.tatum.io
  • URL
    https://api.tatum.io/v3/ethereum/web3/{xApiKey}
  • Auth
    none declared

Path parameters

xApiKeystring required
Example:asdlkfjnqunalkwjfnq2oi303294857k

Tatum X-API-Key used for authorization.

Query parameters

testnetType'ethereum-sepolia'

Type of Ethereum testnet in query. Defaults to ethereum-sepolia. For mainnet API Key, this value is ignored.

Headers

x-testnet-type'ethereum-sepolia'

Type of Ethereum testnet in header. Defaults to ethereum-sepolia. For mainnet API Key, this value is ignored.

Request body

object required

Any valid Web3 method content body.

Example request

{
  "jsonrpc": "2.0",
  "method": "web3_clientVersion",
  "params": [],
  "id": 2
}

Response

OK

object required

Any valid Web3 response.

Example response

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

Changes

No recorded changes to this operation across all 1 revision of this API.