NAV
shell

Introduction

INFURA provides the world with secure, stable, and scalable Ethereum nodes. These docs will help you take advantage of the features INFURA provides.

Endpoints

INFURA uses TLS-protected endpoints for security and privacy.

If you’re not sure which network to use, use Mainnet.

Network Description URL
Mainnet production network https://mainnet.infura.io/
Ropsten test network https://ropsten.infura.io/
INFURAnet test network https://infuranet.infura.io/
Kovan test network https://kovan.infura.io/
Rinkeby test network https://rinkeby.infura.io/

Calling a JSON-RPC method

Submit an HTTP POST request in JSON-RPC 2.0 format.

Calling a JSON-RPC method

$ curl -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "eth_blockNumber", "params": []}' \
  "https://mainnet.infura.io/"
{"jsonrpc":"2.0","result":"0x27a2d3","id":1}

Supported JSON-RPC methods

INFURA supports a subset of Ethereum’s JSON-RPC methods. Most of the unsupported methods have to do with private keys (they’re your keys so they should be on your computer; INFURA never sees them).

If you try to use a method that is not on this list, you will receive a 405 Method Not Allowed HTTP response.