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 Bitcoin transaction by hash
        • πŸ‘¨β€πŸ’» Get Ethereum transaction receipt by hash
        • πŸ“ Send pre-signed raw Bitcoin 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 BTC 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

Ethereum Node API v1.0.0

Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

API gateway for interacting with an Ethereum node via standardized JSON-RPC methods

Base URLs:

  • http://localhost

  • https://cryptoenter.io

Authentication

  • API Key (ApiKeyAuth)
    • Parameter Name: X-API-Key, in: header. API key for authentication. Include your API key in the X-API-Key header.

Ethereum

Ethereum JSON-RPC gateway and helper endpoints

Check ETH node health

Code samples

GET /api/v1/eth/health

Performs a lightweight eth_blockNumber JSON-RPC call to the configured ETH node and returns basic health information.

Example responses

200 Response

{
  "status": "ok",
  "time": "2025-07-23T15:16:00Z",
  "blockNumber": "0x1234abcd"
}

Responses

StatusMeaningDescriptionSchema
200OKETH node is reachable and respondingInline
500Internal Server ErrorETH node URL is not configured or node is not reachableInline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
Β» statusstringfalsenonenone
Β» timestring(date-time)falsenonenone
Β» blockNumberstringfalsenoneCurrent block number as hex QUANTITY from eth_blockNumber.

Status Code 500

NameTypeRequiredRestrictionsDescription
Β» statusstringfalsenonenone
Β» messagestringfalsenonenone
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Get latest Ethereum block

Code samples

GET /api/v1/eth/block/last

Returns the most recent block from the Ethereum blockchain using eth_getBlockByNumber with the latest tag.

Example responses

200 Response

{
  "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"
  ]
}

Responses

StatusMeaningDescriptionSchema
200OKLatest Ethereum blockEthBlock
500Internal Server ErrorCould not connect to ETH nodeNone
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Get Ethereum block by number or tag

Code samples

GET /api/v1/eth/block/{blockNumber}

Returns a specific block by its number (decimal or hex QUANTITY) or by tag (latest, earliest, pending) using eth_getBlockByNumber.

Parameters

NameInTypeRequiredDescription
blockNumberpathstringtrueBlock identifier: decimal height (e.g. 21000000), hex QUANTITY (e.g. 0x1406f40), or one of the tags latest, earliest, pending.

Example responses

200 Response

{
  "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"
  ]
}

Responses

StatusMeaningDescriptionSchema
200OKEthereum blockEthBlock
500Internal Server ErrorCould not connect to ETH nodeNone
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Get Ethereum block by hash

Code samples

GET /api/v1/eth/block/hash/{blockHash}

Returns a block by its hash using eth_getBlockByHash.

Parameters

NameInTypeRequiredDescription
blockHashpathstringtrueEthereum block hash.

Example responses

200 Response

{
  "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"
  ]
}

Responses

StatusMeaningDescriptionSchema
200OKEthereum blockEthBlock
500Internal Server ErrorCould not connect to ETH nodeNone
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Get transaction count in block by number

Code samples

GET /api/v1/eth/block/{blockNumber}/transactions/count

Returns the number of transactions in a block identified by number or tag using eth_getBlockTransactionCountByNumber.

Parameters

NameInTypeRequiredDescription
blockNumberpathstringtrueBlock number or tag (latest, earliest, pending).

Example responses

200 Response

{
  "transactionCount": "0x10"
}

Responses

StatusMeaningDescriptionSchema
200OKNumber of transactions in the blockInline
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
Β» transactionCountstringfalsenoneTransaction count as hex QUANTITY.
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Get transaction count in block by hash

Code samples

GET /api/v1/eth/block/hash/{blockHash}/transactions/count

Returns the number of transactions in a block identified by hash using eth_getBlockTransactionCountByHash.

Parameters

NameInTypeRequiredDescription
blockHashpathstringtrueEthereum block hash.

Example responses

200 Response

{
  "transactionCount": "0x10"
}

Responses

StatusMeaningDescriptionSchema
200OKNumber of transactions in the blockInline
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
Β» transactionCountstringfalsenoneTransaction count as hex QUANTITY.
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

List ETH accounts managed by node

Code samples

GET /api/v1/eth/account

Returns a list of addresses owned by the client using eth_accounts.

Example responses

200 Response

[
  9.743344248872686e+46
]

Responses

StatusMeaningDescriptionSchema
200OKArray of Ethereum addressesInline
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

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

Get ETH balance for address

Code samples

GET /api/v1/eth/account/{address}/balance

Returns the balance of an account at a given address using eth_getBalance.

Parameters

NameInTypeRequiredDescription
addresspathstringtrueEthereum address (0x-prefixed).
blockquerystringfalseBlock number as hex QUANTITY, or tag (latest, earliest, pending).

Example responses

200 Response

{
  "address": 9.743344248872686e+46,
  "block": "latest",
  "balance": "0x2386f26fc10000"
}

Responses

StatusMeaningDescriptionSchema
200OKETH balance informationInline
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
Β» addressstringfalsenonenone
Β» blockstringfalsenonenone
Β» balancestringfalsenoneBalance in wei as hex QUANTITY from eth_getBalance.
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Get transaction count (nonce) for address

Code samples

GET /api/v1/eth/account/{address}/nonce

Returns the transaction count (nonce) for an address using eth_getTransactionCount.

Parameters

NameInTypeRequiredDescription
addresspathstringtrueEthereum address (0x-prefixed).
blockquerystringfalseBlock number as hex QUANTITY, or tag (latest, earliest, pending).

Example responses

200 Response

{
  "address": "string",
  "block": "string",
  "transactionCount": "0x10"
}

Responses

StatusMeaningDescriptionSchema
200OKNonce informationInline
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
Β» addressstringfalsenonenone
Β» blockstringfalsenonenone
Β» transactionCountstringfalsenoneNonce as hex QUANTITY from eth_getTransactionCount.
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Estimate gas for transaction

Code samples

POST /api/v1/eth/account/estimate-gas

Estimates the gas required for a transaction using eth_estimateGas.

Body parameter

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

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
Β» transactionbodyEthTransactionRequesttrueEthereum transaction parameters used with eth_call, eth_estimateGas and eth_sendTransaction.
»» frombodystringfalseSender address.
»» tobodystring¦nullfalseRecipient address, or null for contract creation.
»» gasbodystringfalseGas limit as hex QUANTITY.
»» gasPricebodystringfalseLegacy gas price as hex QUANTITY.
»» maxFeePerGasbodystringfalseEIP-1559 max fee per gas as hex QUANTITY.
»» maxPriorityFeePerGasbodystringfalseEIP-1559 priority fee per gas as hex QUANTITY.
»» valuebodystringfalseAmount of wei to send as hex QUANTITY.
»» databodystringfalseCall data or contract deployment bytecode.
»» noncebodystringfalseNonce as hex QUANTITY.
Β» blockbodystringfalseOptional block number or tag; defaults to latest.

Example responses

200 Response

{
  "gas": "0x5208"
}

Responses

StatusMeaningDescriptionSchema
200OKEstimated gasInline
422Unprocessable EntityInvalid request body (missing or invalid transaction)None
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
Β» gasstringfalsenoneGas estimate as hex QUANTITY from eth_estimateGas.
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Read-only contract call (eth_call)

Code samples

POST /api/v1/eth/account/call

Executes a read-only call to a contract using eth_call without creating a transaction.

Body parameter

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

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
Β» transactionbodyEthTransactionRequesttrueEthereum transaction parameters used with eth_call, eth_estimateGas and eth_sendTransaction.
»» frombodystringfalseSender address.
»» tobodystring¦nullfalseRecipient address, or null for contract creation.
»» gasbodystringfalseGas limit as hex QUANTITY.
»» gasPricebodystringfalseLegacy gas price as hex QUANTITY.
»» maxFeePerGasbodystringfalseEIP-1559 max fee per gas as hex QUANTITY.
»» maxPriorityFeePerGasbodystringfalseEIP-1559 priority fee per gas as hex QUANTITY.
»» valuebodystringfalseAmount of wei to send as hex QUANTITY.
»» databodystringfalseCall data or contract deployment bytecode.
»» noncebodystringfalseNonce as hex QUANTITY.
Β» blockbodystringfalseOptional block number or tag; defaults to latest.

Example responses

200 Response

{
  "result": "0x0000000000000000000000000000000000000000000000000000000000000001"
}

Responses

StatusMeaningDescriptionSchema
200OKRaw return data from contractInline
422Unprocessable EntityInvalid request body (missing or invalid transaction)None
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
Β» resultstringfalsenoneHex-encoded return data from eth_call.
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Send transaction from node-managed account

Code samples

POST /api/v1/eth/account/send

Sends a transaction using eth_sendTransaction. The from account must be unlocked on the ETH node.

Body parameter

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

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
Β» transactionbodyEthTransactionRequesttrueEthereum transaction parameters used with eth_call, eth_estimateGas and eth_sendTransaction.
»» frombodystringfalseSender address.
»» tobodystring¦nullfalseRecipient address, or null for contract creation.
»» gasbodystringfalseGas limit as hex QUANTITY.
»» gasPricebodystringfalseLegacy gas price as hex QUANTITY.
»» maxFeePerGasbodystringfalseEIP-1559 max fee per gas as hex QUANTITY.
»» maxPriorityFeePerGasbodystringfalseEIP-1559 priority fee per gas as hex QUANTITY.
»» valuebodystringfalseAmount of wei to send as hex QUANTITY.
»» databodystringfalseCall data or contract deployment bytecode.
»» noncebodystringfalseNonce as hex QUANTITY.

Example responses

200 Response

{
  "transactionHash": 7.719472615821079e+76
}

Responses

StatusMeaningDescriptionSchema
200OKTransaction accepted by nodeInline
422Unprocessable EntityInvalid request body (missing or invalid transaction)None
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
Β» transactionHashstringfalsenoneTransaction hash returned by eth_sendTransaction.
To perform this operation, you must be authenticated by means of one of the following methods: ApiKeyAuth

Get Ethereum transaction by hash

Code samples

GET /api/v1/eth/transactions/{hash}

Returns transaction details using eth_getTransactionByHash.

Parameters

NameInTypeRequiredDescription
hashpathstringtrueEthereum transaction hash.

Example responses

200 Response

{
  "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"
}

Responses

StatusMeaningDescriptionSchema
200OKEthereum transactionEthTransaction
404Not FoundTransaction not foundInline
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

Status Code 404

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

Get Ethereum transaction receipt by hash

Code samples

GET /api/v1/eth/transactions/{hash}/receipt

Returns transaction receipt using eth_getTransactionReceipt.

Parameters

NameInTypeRequiredDescription
hashpathstringtrueEthereum transaction hash.

Example responses

200 Response

{
  "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"
}

Responses

StatusMeaningDescriptionSchema
200OKEthereum transaction receiptEthTransactionReceipt
404Not FoundTransaction receipt not foundInline
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

Status Code 404

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

Send pre-signed raw Ethereum transaction

Code samples

POST /api/v1/eth/transactions/send-raw

Sends a signed, RLP-encoded transaction using eth_sendRawTransaction.

Body parameter

{
  "rawTransaction": "0x..."
}

Parameters

NameInTypeRequiredDescription
bodybodyobjecttruenone
Β» rawTransactionbodystringtrueSigned and RLP-encoded transaction.

Example responses

200 Response

{
  "transactionHash": 8.491419877403187e+76
}

Responses

StatusMeaningDescriptionSchema
200OKTransaction hash returned by nodeInline
422Unprocessable EntityInvalid request body (missing rawTransaction)None
500Internal Server ErrorCould not connect to ETH nodeNone

Response Schema

Status Code 200

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

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