Login
Registration
Login
Registration
  • πŸ‘‰ Welcome
  • 🧐 How to set up an account
  • πŸ“ˆ Monitoring and analytics
  • πŸ” Introducing coins vs tokens
  • πŸ‘¨β€πŸ’Ό The meaning of owning crypto
  • πŸ’° Wallets
  • πŸ“œ Supported Blockchains
  • API REFERENCE
    • Bitcoin
      • πŸ” Info
        • 🧐 Check BTC node health
        • πŸ“œ Get latest Bitcoin block
      • πŸ†Ž Block
        • πŸ“ˆ Get Bitcoin block by height
        • πŸ‘¨β€πŸ’» Get Bitcoin block by hash
        • πŸ“‘ Get transaction count in block by height
        • πŸ“‘ Get transaction count in block by hash
      • πŸ’° Transactions
        • πŸ‘¨β€πŸ’» Get Bitcoin transaction by hash
        • πŸ“ Send pre-signed raw Bitcoin transaction
      • πŸ‘¨β€πŸ’Ό Account
        • πŸ’° List BTC addresses managed by node wallet
        • πŸ†Ž Get BTC received amount for address
      • πŸ” JSON-RPC
    • Ethereum
      • πŸ” Info
        • 🧐 Check ETH node health
        • πŸ“œ Get latest Ethereum block
      • πŸ†Ž Block
        • πŸ“ˆ Get Ethereum block by height
        • πŸ‘¨β€πŸ’» Get Ethereum block by hash
        • πŸ“‘ Get transaction count in block by height
        • πŸ“‘ Get transaction count in block by hash
      • πŸ’° Transactions
        • πŸ‘¨β€πŸ’» Get Ethereum transaction by hash
        • πŸ‘¨β€πŸ’» Get Ethereum transaction receipt by hash
        • πŸ“ Send pre-signed raw Ethereum transaction
      • πŸ‘¨β€πŸ’Ό Account
        • πŸ” List ETH accounts managed by node
        • πŸ†Ž Get ETH balance for address
        • πŸ†Ž Get transaction count (nonce) for address
        • πŸ‘‰ Estimate gas for transaction
        • πŸ“‘ Read-only contract call (eth_call)
        • πŸ‘¨β€πŸ’Ό Get ETH received amount for address
      • πŸ” JSON-RPC
    • Tron
      • πŸ” Info
        • πŸ“‘ Get TRX node info
        • 🧐 Check Tron node health
      • πŸ†Ž Block
        • πŸ“œ Get latest Tron block
        • πŸ“œ Get latest N blocks
        • 🟠 Get block by number
        • πŸ‘¨β€πŸ’» Get block by hash
      • πŸ’° Transactions
        • πŸ‘¨β€πŸ’» Get transaction by hash
        • πŸ†Ž Get all transactions for an address
      • πŸ‘¨β€πŸ’Ό Account
        • πŸ†Ž Validate a Tron address
        • πŸ” Get account information
        • πŸ’° Get account balance
        • πŸ†Ž Create a new Tron address
        • πŸ’΅ Generate a private key from a mnemonic
        • πŸ“Š Send TRX from one address to another
        • πŸ“Š Send USDT (TRC20) from one address to another
      • ✳️ Webhooks
        • πŸ‘¨β€πŸ“œ List webhooks
        • 🧐 Create webhook
        • πŸ‘‰ Get webhook
        • πŸ‘¨β€πŸ” Get transaction by hash
        • ❌ Get all transactions for an address
      • πŸ“Š Schemas

πŸ” Generic JSON-RPC proxy to ETH node

Code samples

POST /api/v1/eth/jsonrpc

Proxies any valid Ethereum JSON-RPC 2.0 request to the configured ETH node. The request body is forwarded as-is and the node's response is returned.

Body parameter

{
  "jsonrpc": "2.0",
  "method": "eth_blockNumber",
  "params": [
    null
  ],
  "id": null
}

πŸ› οΈ Parameters

NameInTypeRequiredDescription
bodybodyanytruenone

Example responses

200 Response

{}

πŸ” Responses

StatusMeaningDescriptionSchema
200OKJSON-RPC response from ETH nodeInline
500Internal Server ErrorETH node URL is not configured or node is not reachableEthJsonRpcError

πŸ”„ Response Schema

To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Schemas

EthBlock

{
  "number": "0x1234abcd",
  "hash": 0,
  "parentHash": "string",
  "nonce": "string",
  "sha3Uncles": "string",
  "logsBloom": "string",
  "transactionsRoot": "string",
  "stateRoot": "string",
  "receiptsRoot": "string",
  "miner": "string",
  "difficulty": "string",
  "totalDifficulty": "string",
  "extraData": "string",
  "size": "string",
  "gasLimit": "string",
  "gasUsed": "string",
  "timestamp": "string",
  "baseFeePerGas": "string",
  "transactions": [
    "string"
  ],
  "uncles": [
    "string"
  ]
}

Ethereum block object as returned by eth_getBlockByNumber / eth_getBlockByHash. All numeric quantities are hex strings (QUANTITY).

πŸ› οΈ Properties

NameTypeRequiredRestrictionsDescription
numberstring¦nullfalsenoneBlock number as hex QUANTITY, or null for pending blocks.
hashstring¦nullfalsenoneHash of the block, or null for pending blocks.
parentHashstringfalsenoneHash of the parent block.
noncestring¦nullfalsenonenone
sha3Unclesstringfalsenonenone
logsBloomstring¦nullfalsenonenone
transactionsRootstringfalsenonenone
stateRootstringfalsenonenone
receiptsRootstringfalsenonenone
minerstringfalsenoneAddress of the block proposer/miner.
difficultystringfalsenonenone
totalDifficultystringfalsenonenone
extraDatastringfalsenonenone
sizestringfalsenonenone
gasLimitstringfalsenonenone
gasUsedstringfalsenonenone
timestampstringfalsenoneBlock timestamp as hex QUANTITY.
baseFeePerGasstring¦nullfalsenonenone
transactions[oneOf]falsenoneArray of transaction hashes or transaction objects.

oneOf

NameTypeRequiredRestrictionsDescription
Β» anonymousstringfalsenonenone

xor

NameTypeRequiredRestrictionsDescription
Β» anonymousEthTransactionfalsenoneEthereum transaction object as returned by eth_getTransactionByHash.

continued

NameTypeRequiredRestrictionsDescription
uncles[string]falsenonenone

EthTransaction

{
  "hash": "string",
  "nonce": "string",
  "blockHash": "string",
  "blockNumber": "string",
  "transactionIndex": "string",
  "from": "string",
  "to": "string",
  "value": "string",
  "gas": "string",
  "gasPrice": "string",
  "maxFeePerGas": "string",
  "maxPriorityFeePerGas": "string",
  "input": "string",
  "type": "string",
  "chainId": "string",
  "v": "string",
  "r": "string",
  "s": "string"
}

Ethereum transaction object as returned by eth_getTransactionByHash.

πŸ› οΈ Properties

NameTypeRequiredRestrictionsDescription
hashstringfalsenoneTransaction hash.
noncestringfalsenoneNonce as hex QUANTITY.
blockHashstring¦nullfalsenonenone
blockNumberstring¦nullfalsenonenone
transactionIndexstring¦nullfalsenonenone
fromstringfalsenoneSender address.
tostring¦nullfalsenoneRecipient address, or null for contract creation.
valuestringfalsenoneAmount of wei sent, as hex QUANTITY.
gasstringfalsenonenone
gasPricestring¦nullfalsenonenone
maxFeePerGasstring¦nullfalsenonenone
maxPriorityFeePerGasstring¦nullfalsenonenone
inputstringfalsenoneInput data (call data) as hex string.
typestringfalsenoneTransaction type (0x0 legacy, 0x1, 0x2, 0x3...)
chainIdstring¦nullfalsenonenone
vstringfalsenonenone
rstringfalsenonenone
sstringfalsenonenone

EthLog

{
  "address": "string",
  "topics": [
    "string"
  ],
  "data": "string",
  "blockNumber": "string",
  "transactionHash": "string",
  "transactionIndex": "string",
  "blockHash": "string",
  "logIndex": "string",
  "removed": true
}

Ethereum log object from transaction receipt.

πŸ› οΈ Properties

NameTypeRequiredRestrictionsDescription
addressstringfalsenonenone
topics[string]falsenonenone
datastringfalsenonenone
blockNumberstringfalsenonenone
transactionHashstringfalsenonenone
transactionIndexstringfalsenonenone
blockHashstringfalsenonenone
logIndexstringfalsenonenone
removedbooleanfalsenonenone

EthTransactionReceipt

{
  "transactionHash": "string",
  "transactionIndex": "string",
  "blockHash": "string",
  "blockNumber": "string",
  "from": "string",
  "to": "string",
  "cumulativeGasUsed": "string",
  "effectiveGasPrice": "string",
  "gasUsed": "string",
  "contractAddress": "string",
  "logs": [
    {
      "address": "string",
      "topics": [
        "string"
      ],
      "data": "string",
      "blockNumber": "string",
      "transactionHash": "string",
      "transactionIndex": "string",
      "blockHash": "string",
      "logIndex": "string",
      "removed": true
    }
  ],
  "logsBloom": "string",
  "status": "string",
  "type": "string"
}

Ethereum transaction receipt object from eth_getTransactionReceipt.

πŸ› οΈ Properties

NameTypeRequiredRestrictionsDescription
transactionHashstringfalsenonenone
transactionIndexstringfalsenonenone
blockHashstringfalsenonenone
blockNumberstringfalsenonenone
fromstringfalsenonenone
tostring¦nullfalsenonenone
cumulativeGasUsedstringfalsenonenone
effectiveGasPricestringfalsenonenone
gasUsedstringfalsenonenone
contractAddressstring¦nullfalsenonenone
logs[EthLog]falsenone[Ethereum log object from transaction receipt.]
logsBloomstringfalsenonenone
statusstringfalsenone0x1 for success, 0x0 for failure.
typestringfalsenonenone

EthTransactionRequest

{
  "from": "string",
  "to": "string",
  "gas": "string",
  "gasPrice": "string",
  "maxFeePerGas": "string",
  "maxPriorityFeePerGas": "string",
  "value": "string",
  "data": "string",
  "nonce": "string"
}

Ethereum transaction parameters used with eth_call, eth_estimateGas and eth_sendTransaction.

πŸ› οΈ Properties

NameTypeRequiredRestrictionsDescription
fromstringfalsenoneSender address.
tostring¦nullfalsenoneRecipient address, or null for contract creation.
gasstringfalsenoneGas limit as hex QUANTITY.
gasPricestringfalsenoneLegacy gas price as hex QUANTITY.
maxFeePerGasstringfalsenoneEIP-1559 max fee per gas as hex QUANTITY.
maxPriorityFeePerGasstringfalsenoneEIP-1559 priority fee per gas as hex QUANTITY.
valuestringfalsenoneAmount of wei to send as hex QUANTITY.
datastringfalsenoneCall data or contract deployment bytecode.
noncestringfalsenoneNonce as hex QUANTITY.

EthJsonRpcRequest

{
  "jsonrpc": "2.0",
  "method": "eth_blockNumber",
  "params": [
    null
  ],
  "id": null
}

Generic Ethereum JSON-RPC 2.0 request.

πŸ› οΈ Properties

NameTypeRequiredRestrictionsDescription
jsonrpcstringtruenonenone
methodstringtruenoneEthereum JSON-RPC method name (e.g. eth_blockNumber).
params[any]truenonePositional parameters for the method.
idanyfalsenoneRequest identifier (string, number, or null).

Enumerated Values

PropertyValue
jsonrpc2.0

EthJsonRpcError

{
  "error": {
    "code": -32603,
    "message": "Failed to connect to ETH node"
  }
}

Error response used when ETH JSON-RPC proxy fails.

πŸ› οΈ Properties

NameTypeRequiredRestrictionsDescription
errorobjectfalsenonenone
Β» codeintegerfalsenonenone
Β» messagestringfalsenonenone
Prev
πŸ‘¨β€πŸ’Ό Account