Ir al contenido principal
Time to read: 1 min
Para el índice completo de documentación, consulte llms.txt

Tatum

Tatum is a blockchain infrastructure provider. It runs JSON-RPC endpoints for Rootstock Mainnet and Rootstock Testnet.

Endpoints​

Both endpoints serve JSON-RPC over HTTPS.

NetworkChain IDJSON-RPC URL
Rootstock Mainnet30https://rootstock-mainnet.gateway.tatum.io
Rootstock Testnet31https://rootstock-testnet.gateway.tatum.io

Rate Limits​

You can call both endpoints without an API key at up to 5 requests per minute. This limit is meant for development and testing. Requests above it return HTTP 429.

For a higher limit, create an API key at tatum.io and send it in the x-api-key header. Paid plans raise the limit further.

freerpc.com/rootstock lists the free Tatum endpoints for Rootstock.

Make Your First Call​

The request below returns the latest block number on Rootstock Mainnet. It needs no API key.

curl -X POST https://rootstock-mainnet.gateway.tatum.io \
-H 'Content-Type: application/json' \
-d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}'

The response looks like this:

{"id":1,"jsonrpc":"2.0","result":"0x8ffe9e"}

The result field is the block number in hexadecimal.

Última actualización en por Luboš Schrámek