Query the Ethereum mainnet JSON-RPC service for its current block number.

API

What your agent can do

  • Read the latest Ethereum mainnet block number.

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

API connection
API path
https://ethereum-mainnet.gateway.tatum.io/

Authentication
--header 'x-api-key: {YOUR_API_KEY}'
POST https://ethereum-mainnet.gateway.tatum.io/

Documentation & experience

  • 1 connection path
View sources and checks
How documentation is checked