RPC Nodes - How to make calls

Modified on Tue, 23 Apr 2024 at 11:19 AM

TABLE OF CONTENTS


Making an RPC-Node call

Tatum supports a long list of chains via RPC Nodes. You can find the API documentation at the following link.


Considering the default request URL: {{baseUrl}}/v3/blockchain/node/:chain/:path 

See an example request against Tatum Ethereum RPC nodes:

curl --location --request POST 'https://api.tatum.io/v3/blockchain/node/ETH' \
--header 'x-api-key: ##Mainnet_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc":"2.0",
    "method":"eth_blockNumber",
    "params":[],
    "id":1
}'
//Response:
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0xfc186e"
}


Use :path for specific methods. Example: {{baseUrl}}/v3/blockchain/node/TRON/wallet/gettransactioninfobyblocknum



Supported Chains

 Name:chain
Algorandalgorand-mainnet-algod

algorand-mainnet-indexer

algorand-testnet-algod

algorand-testnet-indexer

Arbitrumarb-mainnet

arb-nova-mainnet

arb-one-mainnet

arb-testnet

Auroraaurora-mainnet

aurora-testnet

Avalanche C-Chainavax-mainnet

avax-testnet

Avalanche P-Chainavax-p-mainnet

avax-p-testnet

Avalanche X-Chain

avax-x-mainnet

avax-x-testnet

Base

base-mainnet

base-sepolia

Bitcoinbitcoin-mainnet

bitcoin-testnet

Bitcoin Cashbch-mainnet

bch-testnet

BNB Beacon Chainbnb-mainnet

bnb-testnet

BNB Smart Chainbsc-mainnet

bsc-testnet

Cardano
cardano-mainnet
cardano-preprod
Celocelo-mainnet

celo-testnet

Chilliz

chiliz-mainnet

chiliz-testnet

Cosmoscosmos-mainnet
Cronoscro-mainnet

cro-testnet

Dogecoindoge-mainnet

doge-testnet

Elrondegld-mainnet

egld-testnet

Eoneon-mainnet
eon-testnet
EOSIOeos-mainnet

eos-testnet

Ethereum

ethereum-mainnet

ethereum-holeski

ethereum-sepolia
Ethereum Classic

ethereum-classic-mainnet

ethereum-classic-testnet

Fantomfantom-mainnet

fantom-testnet

Flareflare-mainnet

flare-coston

flare-coston

flare-coston2

flare-songbird

Flowflow-mainnet

flow-testnet

Gnosisgno-mainnet

gno-testnet

Haqq

haqq-mainnet

haqq-testnet

Harmonyone-mainnet-s0

one-testnet-s0

Iotaiota-mainnet
Kadena

kadena-mainnet

kadena-testnet

Klaytnklaytn-baobab

klaytn-cypress

KuCoin Community Chainkcs-testnet

kcs-mainnet

Kusamaksm-mainnet

ksm-testnet

Lisklisk-mainnet

lisk-testnet

Litecoinlitecoin-mainnet

litecoin-testnet

litecoin-core-mainnet

litecoin-core-testnet

NEARnear-mainnet

near-testnet

Oasis Networkoasis-mainnet

oasis-testnet

Optimismoptimism-mainnet

optimism-testnet

Palmpalm-mainnet

palm-testnet

Polkadotdot-mainnet

dot-testnet

Polygonpolygon-mainnet
polygon-amoy
Rostrumrostrum-mainnet
RSKrsk-mainnet

rsk-testnet

Solanasolana-mainnet

solana-devnet

Stellarstellar-mainnet

stellar-testnet

Tezostezos-mainnet

tezos-testnet

TRONtron-mainnet

tron-testnet

VeChainvechain-mainnet

vechain-testnet

XinFinxdc-mainnet

xdc-testnet

XRP/Rippleripple-mainnet

ripple-testnet

ZCashzcash-mainnet

zcash-testnet

Zilliqazilliqa-mainnet

zilliqa-testnet

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article