Node RPC
Connect to the blockchain node through an RPC driver
2 credits per RPC method in an API call
Connect directly to the blockchain node provided by Tatum.
The PUT method is used. The API endpoint URL acts as an HTTP-based RPC driver.
put/v3/blockchain/node/{chain}/{xApiKey}/{rpcPath}
Request
- Base URLhttps://api.tatum.io
- URLhttps://api.tatum.io/v3/blockchain/node/{chain}/{xApiKey}/{rpcPath}
- AuthAPI key in header x-api-key
Path parameters
xApiKeystring required
Example:ea8ce228-6ca3-465c-abb0-fd3c5d35c0d5
Tatum X-API-Key used for authorization. You can omit this path parameter and either use the X-Api-Key header, or the API key tied to your IP address without any header.
chain'algorand-mainnet-algod' | 'algorand-mainnet-indexer' | 'algorand-testnet-algod' | 'algorand-testnet-indexer' | 'egld-mainnet' | 'egld-testnet' | 'stellar-mainnet' | 'stellar-testnet' | 'ton-mainnet' | 'ton-testnet' required
Example:algorand-testnet-algod
Blockchain to communicate with.
rpcPathstring required
Example:v2/accounts
Optional path of rpc call for non EVM nodes, e.g. Algorand or Stellar.
Request body
object required
A valid Web3 RPC method content body with one or multiple RPC methods
Example request
{
"jsonrpc": "2.0",
"method": "web3_clientVersion",
"params": [],
"id": 2
}Response
OK
object required
A valid RPC response
Example response
{
"jsonrpc": "2.0",
"id": 2,
"result": "Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"
}Changes
No recorded changes to this operation across all 1 revision of this API.