Infura
infura.ioRetrieve the latest Ethereum mainnet block number through Infura's managed JSON-RPC endpoint.
What your agent can do
Retrieve the current block number.
Via API.
Tasks depend on the interface and permissions.
Connection methods
Choose a route that fits your agent.
API
For custom integrations
an API key
View paths for APIAPI connection
API path
https://mainnet.infura.io/v3/<YOUR-API-KEY>- Authentication
- Replace `<YOUR-API-KEY>` with your own unique API key.