Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
The ultimate solution for your web3 infrastructure needs.
Enterprises and experienced developers seeking a robust and powerful solution for their web3 needs, look no further. Validation Cloud's Node API is the answer to all your crypto node infrastructure requirements. Our cutting-edge platform offers a comprehensive suite of API endpoints, meticulously categorized by crypto network, to ensure seamless integration and interoperability across the web3 ecosystem.
Our entire platform is engineered to deliver exceptional performance and reliability for your business-critical applications. Our globally resilient infrastructure network employs state-of-the-art Smart Routing technology, which intelligently directs your requests to the closest set of nodes, guaranteeing lightning-fast response times and minimal latency.
Our diverse collection of API endpoints caters to a wide range of crypto networks, simplifying your workflow and enabling you to harness the full potential of web3.
Our Node API's Smart Routing technology ensures optimal performance by selecting the nearest nodes, providing unmatched speed and reliability for your web3 applications.
Validation Cloud adheres to strict security standards, safeguarding your infrastructure and sensitive data while maintaining maximum uptime.
Our Node API infrastructure is designed to scale effortlessly with your growing needs, offering unmatched versatility to support your business’s dynamic web3 demands.
Our dedicated team of experts is available around the clock to assist you with any technical concerns or queries, ensuring a seamless experience with our infrastructure.
As you explore the limitless possibilities of Validation Cloud's crypto node service, we invite you to familiarize yourself with our competitive and flexible billing options, designed to accommodate businesses of all sizes. In the next section, you’ll find all the information you need to choose the perfect plan for your organization’s unique requirements.
Let’s revolutionize the world of decentralized applications together.
Return the authentication key and the sequence number for an account address.
Retrieves all account modules' bytecode for a given account at a specific ledger version.
Retrieves all account resources for a given account and a specific ledger version.
Welcome to Node API's Billing Page
At Validation Cloud, we understand that every business has unique needs and financial constraints. That’s why we’ve designed our billing system to be as flexible and accommodating as possible, catering to enterprises and experienced developers entering the web3 space. Our pricing model is structured around two primary plans: Free Plan and Scale Plan, charged based on a Compute Unit (CU) system.
Get started with our Node API without any upfront costs or commitment. Simply sign up for free—no credit card required—and gain immediate access to our enterprise-grade nodes with no performance limitations until you've reached your 50 million-th compute unit. Enjoy seamless integration and superior performance up to the 50 millionth compute unit, completely free of charge.
As your web3 needs grow, Validation Cloud is prepared to scale with you. Our Scale Plan is designed for users requiring additional compute units beyond the Free Plan 50 million CUs. The Scale Plan operates on a sliding scale, with the cost per 1 million CUs decreasing as your usage increases.
In summary, Node API's Scale Plan offers a flexible pricing model that adjusts based on your usage. The more compute units you consume, the lower the cost per million CUs. This approach ensures that you only pay for the resources you need, making it a cost-effective solution for both enterprises and developers at any stage of their web3 venture.
With our Node API, you can trust that you’re getting the most value from your crypto node infrastructure investment. Please feel free to contact us if you have any questions or require further information.
Includes Avalanche C-Chain, Ethereum, Binance, and Polygon. Does not include Hedera endpoints.
Compute Units (CU per month) | Price (USD per 1M CU) |
---|---|
v1/accounts/{address} | 15 |
---|---|
0 - 50M
Free
50 - 150M
$0.50
150 - 500M
$0.45
500M - 1B
$0.40
Greater than 1B
$0.35
v1/accounts/{address}/resources
30
v1/accounts/{address}/modules
60
v1/accounts/{address}/module/{module_name}
30
v1/accounts/{address}/events/{creation_number}
30
v1/accounts/{address}/events/{event_handle}/{field_name}
30
v1/blocks/by_height/{block_height}
50
v1/blocks/by_version/{version}
50
v1/
10
v1/tables/{table_handle}/item
150
v1/tables/{table_handle}/raw_item
200
v1/transactions
150
v1/transactions/by_hash/{txn_hash}
15
v1/transactions/by_version/{txn_version}
15
v1/accounts/{address}/transactions
150
v1/estimate_gas_price
30
v1/transactions
350
v1/transactions/batch
3500
v1/transactions/simulate
50
v1/transactions/encode_submission
15
v1/view
50
chain_get_block
15
chain_get_block_transfers
10
chain_get_era_info_by_switch_block
2500
chain_get_era_summary
2500
chain_get_state_root_hash
10
info_get_deploy
10
info_get_peers
15
info_get_status
15
info_get_validator_changes
10
query_balance
10
query_global_state
15
state_get_account_info
15
state_get_auction_info
3000
1 KB of data
3
getEvents
10
getHealth
10
getLatestLedger
10
getLedgerEntries
10
getNetwork
10
getTransaction
10
sendTransaction
10
simulateTransaction
10
Retrieves an individual resource from a given account and at a specific ledger version.
Retrieves an individual module from a given account and at a specific ledger version.
eth_getUncleByBlockNumberAndIndex | 10 |
---|---|
avax.getatomictx | 10 |
---|---|
web3_clientVersion | 10 |
---|---|
eth_getFilterChanges
10
eth_getTransactionByBlockNumberAndIndex
10
eth_blockNumber
10
eth_newPendingTransactionFilter
10
eth_subscribe
10
eth_getTransactionCount
10
eth_estimateGas
100
eth_getLogs
80
eth_gasPrice
20
eth_sendRawTransaction
270
eth_unsubscribe
10
web3_sha3
10
eth_getStorageAt
20
eth_getUncleByBlockHashAndIndex
10
web3_clientVersion
10
net_peerCount
10
eth_getCode
20
eth_getTransactionByBlockHashAndIndex
10
eth_getTransactionReceipt
10
eth_getBlockByNumber
10
eth_getTransactionByHash
10
eth_accounts
10
eth_call
30
eth_syncing
10
eth_getBlockTransactionCountByNumber
10
eth_getUncleCountByBlockNumber
10
eth_getUncleCountByBlockHash
10
eth_getBalance
20
eth_newBlockFilter
20
eth_getFilterLogs
10
eth_uninstallFilter
10
eth_getBlockByHash
30
eth_getBlockTransactionCountByHash
10
net_peerCount
10
txpool_content
5000
avax.getatomictxstatus
10
avax.getutxos
10
avax.issuetx
10
avm.getaddresstxs
10
avm.getallbalances
10
avm.getassetdescription
10
avm.getbalance
10
avm.gettx
10
avm.gettxstatus
10
platform.getbalance
10
platform.getblockchains
10
platform.getblockchainstatus
10
platform.getcurrentsupply
10
platform.getheight
10
platform.getmaxstakeamount
10
platform.getminstake
10
platform.getpendingvalidators
10
platform.getrewardutxos
10
platform.getstake
10
platform.getstakingassetid
140
platform.getsubnets
140
platform.gettimestamp
90
platform.gettotalstake
90
platform.gettx
20
platform.gettxstatus
100
platform.getutxos
20
platform.issuetx
20
platform.samplevalidators
60
platform.validatedby
80
platform.validates
20
eth_blockNumber
15
eth_call
150
eth_chainId
10
eth_estimateGas
50000
eth_gasPrice
50000
eth_feeHistory
50000
eth_getBalance
20
eth_getBlockByHash
15
eth_getBlockByNumber
15
eth_getTransactionByHash
150
eth_getBlockTransactionCountByHash
15
eth_getBlockTransactionCountByNumber
15
eth_getTransactionCount
150
eth_getCode
350
eth_getLogs
120
eth_getStorageAt
200
eth_getTransactionByBlockHashAndIndex
15
eth_getTransactionByBlockNumberAndIndex
15
eth_getTransactionReceipt
15
eth_getUncleByBlockHashAndIndex
15
eth_getUncleByBlockNumberAndIndex
15
eth_getUncleCountByBlockHash
15
eth_getUncleCountByBlockNumber
15
eth_sendRawTransaction
200000
net_version
10
eth_maxPriorityFeePerGas
15
GET_api/v1/accounts
15
GET_api/v1/accounts/{address}
15
GET_api/v1/accounts/{address}/allowances/crypto
15
GET_api/v1/accounts/{address}/allowances/tokens
15
GET_api/v1/accounts/{address}/nfts
15
GET_api/v1/accounts/{address}/rewards
15
GET_api/v1/accounts/{address}/tokens
15
GET_api/v1/balances
15
GET_api/v1/blocks
15
GET_api/v1/blocks/{block}
15
GET_api/v1/transactions
15
GET_api/v1/transactions/{transaction}
15
GET_api/v1/transactions/{transaction}/stateproof
15
GET_api/v1/contracts
15
GET_api/v1/contracts/{address}
20
GET_api/v1/contracts/{address}/results
15
GET_api/v1/contracts/{address}/results/{timestamp}
15
GET_api/v1/contracts/{address}/results/logs
120
GET_api/v1/contracts/{address}/state
15
GET_api/v1/contracts/results
15
GET_api/v1/contracts/results/{transaction}
15
GET_api/v1/contracts/results/{transaction}/actions
15
GET_api/v1/contracts/results/logs
120
GET_api/v1/network/exchangerate
15
GET_api/v1/network/fees
15
GET_api/v1/network/nodes
15
GET_api/v1/network/stake
15
GET_api/v1/network/supply
15
GET_api/v1/schedules
15
GET_api/v1/schedules/{entity}
15
GET_api/v1/tokens
15
GET_api/v1/tokens/{token}
15
GET_api/v1/tokens/{token}/balances
20
GET_api/v1/tokens/{token}/nfts
15
GET_api/v1/tokens/{token}/nfts/{serialNumber}
15
GET_api/v1/tokens/{token}/nfts/{serialNumber}/transactions
15
GET_api/v1/topics/{topic}/messages
15
GET_api/v1/topics/{topic}/messages/{sequenceNumber}
15
GET_api/v1/topics/messages/{timestamp}
15
POST_api/v1/contracts/call
100
Get the latest ledger information, including data such as chain ID, role type, ledger versions, epoch, etc.
Get the transactions in a block and the corresponding block information given a version in the block.
This endpoint returns events emitted to the account matching a given event type.
Look up a transaction by its hash.
Retrieves on-chain committed transactions from an account.
This endpoint accepts transaction submissions in two formats.
Retrieve on-chain committed transactions.
Get a raw table item at a specific ledger version from the table.
Retrieves a transaction by a given version.
The output of the transaction will have the exact transaction outputs and events that running an actual signed transaction would have.
This allows you to submit multiple transactions.
This endpoint accepts an EncodeSubmissionRequest, which internally is a UserTransactionRequestInner encoded as JSON, validates the request format, and then returns t
Currently, the gas estimation is handled by taking the median of the last 100,000 transactions.
Execute the Move function with the given parameters and return its execution result.
Returns a list of addresses owned by client.
None
array of data
- 20 Bytes - addresses owned by the client
Returns the number of most recent block.
None
INTEGER
- Value of the current block number the client is on
Executes a new message call immediately without creating a transaction on the block chain.
from
- [optional] String of the address the transaction is sent from.
to
- String of the address the transaction is directed to.
gas
- [optional] Integer of the gas provided for the transaction execution.
gasprice
- [optional] Integer of the gasPrice used for each paid gas encoded as a hexadecimal.
value
- [optional] Integer of the value sent with this transaction encoded as a hexadecimal.
data
- [optional] String of the hash of the method signature and encoded parameters. For more information, see the Contract ABI description in the Solidity documentation.
QUANTITY | TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameter
data
- hex value of the executed call or contract
Returns the balance of the account of given address.
DATA
, 20 Bytes - address to check for balance.
QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameter
INTEGER
- Hex value representing integer of the current balance in WEI.
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete.
from
- [optional] String of the address the transaction is sent from.
to
- String of the address the transaction is directed to.
gas
- [optional] Integer of the gas provided for the transaction execution.
gasprice
- [optional] Integer of the gasPrice used for each paid gas encoded as a hexadecimal.
value
- [optional] Integer of the value sent with this transaction encoded as a hexadecimal.
If no gas limit is specified geth uses the block gas limit from the pending block as an upper bound. As a result the returned estimate might not be enough to executed the call/transaction when the amount of gas is higher than the pending block gas limit.
__
String
- hex string value representing an integer of the amount of gas units used.
data
- [optional] String of the hash of the method signature and encoded parameters. For more information, see the .
Returns information about a block by block number.
Parameters
QUANTITY|TAG
- integer of a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.
Boolean
- If true
it returns the full transaction objects, if false
only the hashes of the transactions.
Returns
Object
- A block object, or null
when no block was found:
number
: QUANTITY
- the block number. null
when its pending block.
hash
: DATA
, 32 Bytes - hash of the block. null
when its pending block.
parentHash
: DATA
, 32 Bytes - hash of the parent block.
nonce
: DATA
, 8 Bytes - hash of the generated proof-of-work. null
when its pending block.
sha3Uncles
: DATA
, 32 Bytes - SHA3 of the uncles data in the block.
logsBloom
: DATA
, 256 Bytes - the bloom filter for the logs of the block. null
when its pending block.
transactionsRoot
: DATA
, 32 Bytes - the root of the transaction trie of the block.
stateRoot
: DATA
, 32 Bytes - the root of the final state trie of the block.
receiptsRoot
: DATA
, 32 Bytes - the root of the receipts trie of the block.
miner
: DATA
, 20 Bytes - the address of the beneficiary to whom the mining rewards were given.
difficulty
: QUANTITY
- integer of the difficulty for this block.
totalDifficulty
: QUANTITY
- integer of the total difficulty of the chain until this block.
extraData
: DATA
- the "extra data" field of this block.
size
: QUANTITY
- integer the size of this block in bytes.
gasLimit
: QUANTITY
- the maximum gas allowed in this block.
gasUsed
: QUANTITY
- the total used gas by all transactions in this block.
timestamp
: QUANTITY
- the unix timestamp for when the block was collated.
transactions
: Array
- Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter.
uncles
: Array
- Array of uncle hashes.
Returns information about a block by hash.
Parameters
DATA
, 32 Bytes - Hash of a block.
Boolean
- If true
it returns the full transaction objects, if false
only the hashes of the transactions are returned.
Returns
Object
- A block object, or null
when no block was found:
number
: QUANTITY
- the block number. null
when its pending block.
hash
: DATA
, 32 Bytes - hash of the block. null
when its pending block.
parentHash
: DATA
, 32 Bytes - hash of the parent block.
nonce
: DATA
, 8 Bytes - hash of the generated proof-of-work. null
when its pending block.
sha3Uncles
: DATA
, 32 Bytes - SHA3 of the uncles data in the block.
logsBloom
: DATA
, 256 Bytes - the bloom filter for the logs of the block. null
when its pending block.
transactionsRoot
: DATA
, 32 Bytes - the root of the transaction trie of the block.
stateRoot
: DATA
, 32 Bytes - the root of the final state trie of the block.
receiptsRoot
: DATA
, 32 Bytes - the root of the receipts trie of the block.
miner
: DATA
, 20 Bytes - the address of the beneficiary to whom the mining rewards were given.
difficulty
: QUANTITY
- integer of the difficulty for this block.
totalDifficulty
: QUANTITY
- integer of the total difficulty of the chain until this block.
extraData
: DATA
- the "extra data" field of this block.
size
: QUANTITY
- integer the size of this block in bytes.
gasLimit
: QUANTITY
- the maximum gas allowed in this block.
gasUsed
: QUANTITY
- the total used gas by all transactions in this block.
timestamp
: QUANTITY
- the unix timestamp for when the block was collated.
transactions
: Array
- Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter.
uncles
: Array
- Array of uncle hashes.
Returns the number of transactions in a block matching the given block number.
Parameters
QUANTITY|TAG
- integer of a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.
Returns
QUANTITY
- integer of the number of transactions in this block.
Returns the number of transactions in a block from a block matching the given block hash.
Parameters
DATA
, 32 Bytes - hash of a block
Returns
QUANTITY
- integer of the number of transactions in this block.
Returns code at a given address.
DATA
, 20 Bytes - address.
QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameter
DATA
- the code from the given address.
Polling method for a filter, which returns an array of logs which occurred since last poll.
QUANTITY
- the filter id.
Array
- Array of log objects, or an empty array if nothing has changed since last poll.
For filters created with eth_newBlockFilter
the return are block hashes (DATA
, 32 Bytes), e.g. ["0x3454645634534..."]
.
For filters created with eth_newPendingTransactionFilter
the return are transaction hashes (DATA
, 32 Bytes), e.g. ["0x6345343454645..."]
.
For filters created with eth_newFilter
logs are objects with following params:
removed
: TAG
- true
when the log was removed, due to a chain reorganization. false
if its a valid log.
logIndex
: QUANTITY
- integer of the log index position in the block. null
when its pending log.
transactionIndex
: QUANTITY
- integer of the transactions index position log was created from. null
when its pending log.
transactionHash
: DATA
, 32 Bytes - hash of the transactions this log was created from. null
when its pending log.
blockHash
: DATA
, 32 Bytes - hash of the block where this log was in. null
when its pending. null
when its pending log.
blockNumber
: QUANTITY
- the block number where this log was in. null
when its pending. null
when its pending log.
address
: DATA
, 20 Bytes - address from which this log originated.
data
: DATA
- contains one or more 32 Bytes non-indexed arguments of the log.
topics
: Array of DATA
- Array of 0 to 4 32 Bytes DATA
of indexed log arguments. (In solidity: The first topic is the hash of the signature of the event (e.g. Deposit(address,bytes32,uint256)
), except you declared the event with the anonymous
specifier.)
Returns an array of all logs matching filter with given id.
QUANTITY
- the filter id.
Array
- Array of log objects, or an empty array if nothing has changed since last poll.
For filters created with eth_newBlockFilter
the return are block hashes (DATA
, 32 Bytes), e.g. ["0x3454645634534..."]
.
For filters created with eth_newPendingTransactionFilter
the return are transaction hashes (DATA
, 32 Bytes), e.g. ["0x6345343454645..."]
.
For filters created with eth_newFilter
logs are objects with following params:
removed
: TAG
- true
when the log was removed, due to a chain reorganization. false
if its a valid log.
logIndex
: QUANTITY
- integer of the log index position in the block. null
when its pending log.
transactionIndex
: QUANTITY
- integer of the transactions index position log was created from. null
when its pending log.
transactionHash
: DATA
, 32 Bytes - hash of the transactions this log was created from. null
when its pending log.
blockHash
: DATA
, 32 Bytes - hash of the block where this log was in. null
when its pending. null
when its pending log.
blockNumber
: QUANTITY
- the block number where this log was in. null
when its pending. null
when its pending log.
address
: DATA
, 20 Bytes - address from which this log originated.
data
: DATA
- contains one or more 32 Bytes non-indexed arguments of the log.
topics
: Array of DATA
- Array of 0 to 4 32 Bytes DATA
of indexed log arguments. (In solidity: The first topic is the hash of the signature of the event (e.g. Deposit(address,bytes32,uint256)
), except you declared the event with the anonymous
specifier.)
Returns information about a transaction by block number and transaction index position.
QUANTITY
- the transaction index position.
Object
- A transaction object, or null
when no transaction was found:
blockHash
: DATA
, 32 Bytes - hash of the block where this transaction was in. null
when its pending.
blockNumber
: QUANTITY
- block number where this transaction was in. null
when its pending.
from
: DATA
, 20 Bytes - address of the sender.
gas
: QUANTITY
- gas provided by the sender.
gasPrice
: QUANTITY
- gas price provided by the sender in Wei.
hash
: DATA
, 32 Bytes - hash of the transaction.
input
: DATA
- the data send along with the transaction.
nonce
: QUANTITY
- the number of transactions made by the sender prior to this one.
to
: DATA
, 20 Bytes - address of the receiver. null
when its a contract creation transaction.
transactionIndex
: QUANTITY
- integer of the transactions index position in the block. null
when its pending.
value
: QUANTITY
- value transferred in Wei.
v
: QUANTITY
- ECDSA recovery id
r
: QUANTITY
- ECDSA signature r
s
: QUANTITY
- ECDSA signature s
Returns information about a transaction by block hash and transaction index position.
DATA
, 32 Bytes - hash of a block.
QUANTITY
- integer of the transaction index position.
Object
- A transaction object, or null
when no transaction was found:
blockHash
: DATA
, 32 Bytes - hash of the block where this transaction was in. null
when its pending.
blockNumber
: QUANTITY
- block number where this transaction was in. null
when its pending.
from
: DATA
, 20 Bytes - address of the sender.
gas
: QUANTITY
- gas provided by the sender.
gasPrice
: QUANTITY
- gas price provided by the sender in Wei.
hash
: DATA
, 32 Bytes - hash of the transaction.
input
: DATA
- the data send along with the transaction.
nonce
: QUANTITY
- the number of transactions made by the sender prior to this one.
to
: DATA
, 20 Bytes - address of the receiver. null
when its a contract creation transaction.
transactionIndex
: QUANTITY
- integer of the transactions index position in the block. null
when its pending.
value
: QUANTITY
- value transferred in Wei.
v
: QUANTITY
- ECDSA recovery id
r
: QUANTITY
- ECDSA signature r
s
: QUANTITY
- ECDSA signature s
QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the
QUANTITY|TAG
- a block number, or the string "earliest"
, "latest"
or "pending"
, as in the .
Returns an array of all logs matching a given filter object.
Object
- The filter options:
fromBlock
: QUANTITY|TAG
- (optional, default: "latest"
) Integer block number, or "latest"
for the last mined block or "pending"
, "earliest"
for not yet mined transactions.
toBlock
: QUANTITY|TAG
- (optional, default: "latest"
) Integer block number, or "latest"
for the last mined block or "pending"
, "earliest"
for not yet mined transactions.
address
: DATA|Array
, 20 Bytes - (optional) Contract address or a list of addresses from which logs should originate.
topics
: Array of DATA
, - (optional) Array of 32 Bytes DATA
topics. Topics are order-dependent. Each topic can also be an array of DATA with "or" options.
blockhash
: DATA
, 32 Bytes - (optional, future) With the addition of EIP-234, blockHash
will be a new filter option which restricts the logs returned to the single block with the 32-byte hash blockHash
. Using blockHash
is equivalent to fromBlock
= toBlock
= the block number with hash blockHash
. If blockHash
is present in in the filter criteria, then neither fromBlock
nor toBlock
are allowed.
Array
- Array of log objects, or an empty array if nothing has changed since last poll.
For filters created with eth_newBlockFilter
the return are block hashes (DATA
, 32 Bytes), e.g. ["0x3454645634534..."]
.
For filters created with eth_newPendingTransactionFilter
the return are transaction hashes (DATA
, 32 Bytes), e.g. ["0x6345343454645..."]
.
For filters created with eth_newFilter
logs are objects with following params:
removed
: TAG
- true
when the log was removed, due to a chain reorganization. false
if its a valid log.
logIndex
: QUANTITY
- integer of the log index position in the block. null
when its pending log.
transactionIndex
: QUANTITY
- integer of the transactions index position log was created from. null
when its pending log.
transactionHash
: DATA
, 32 Bytes - hash of the transactions this log was created from. null
when its pending log.
blockHash
: DATA
, 32 Bytes - hash of the block where this log was in. null
when its pending. null
when its pending log.
blockNumber
: QUANTITY
- the block number where this log was in. null
when its pending. null
when its pending log.
address
: DATA
, 20 Bytes - address from which this log originated.
data
: DATA
- contains one or more 32 Bytes non-indexed arguments of the log.
topics
: Array of DATA
- Array of 0 to 4 32 Bytes DATA
of indexed log arguments. (In solidity: The first topic is the hash of the signature of the event (e.g. Deposit(address,bytes32,uint256)
), except you declared the event with the anonymous
specifier.)
Returns the information about a transaction requested by transaction hash.
Parameters
DATA
, 32 Bytes - hash of a transaction
Returns
Object
- A transaction object, or null
when no transaction was found:
blockHash
: DATA
, 32 Bytes - hash of the block where this transaction was in. null
when its pending.
blockNumber
: QUANTITY
- block number where this transaction was in. null
when its pending.
from
: DATA
, 20 Bytes - address of the sender.
gas
: QUANTITY
- gas provided by the sender.
gasPrice
: QUANTITY
- gas price provided by the sender in Wei.
hash
: DATA
, 32 Bytes - hash of the transaction.
input
: DATA
- the data send along with the transaction.
nonce
: QUANTITY
- the number of transactions made by the sender prior to this one.
to
: DATA
, 20 Bytes - address of the receiver. null
when its a contract creation transaction.
transactionIndex
: QUANTITY
- integer of the transactions index position in the block. null
when its pending.
value
: QUANTITY
- value transferred in Wei.
v
: QUANTITY
- ECDSA recovery id
r
: QUANTITY
- ECDSA signature r
s
: QUANTITY
- ECDSA signature s
Returns the receipt of a transaction by transaction hash. Note that the receipt is not available for pending transactions.
DATA
, 32 Bytes - hash of a transaction
Object
- A transaction receipt object, or null
when no receipt was found:
transactionHash
: DATA
, 32 Bytes - hash of the transaction.
transactionIndex
: QUANTITY
- integer of the transactions index position in the block.
blockHash
: DATA
, 32 Bytes - hash of the block where this transaction was in.
blockNumber
: QUANTITY
- block number where this transaction was in.
from
: DATA
, 20 Bytes - address of the sender.
to
: DATA
, 20 Bytes - address of the receiver. null when its a contract creation transaction.
cumulativeGasUsed
: QUANTITY
- The total amount of gas used when this transaction was executed in the block.
effectiveGasPrice
: QUANTITY
- The sum of the base fee and tip paid per unit of gas.
gasUsed
: QUANTITY
- The amount of gas used by this specific transaction alone.
contractAddress
: DATA
, 20 Bytes - The contract address created, if the transaction was a contract creation, otherwise null
.
logs
: Array
- Array of log objects, which this transaction generated.
logsBloom
: DATA
, 256 Bytes - Bloom filter for light clients to quickly retrieve related logs.
type
: DATA
- integer of the transaction type, 0x00
for legacy transactions, 0x01
for access list types, 0x02
for dynamic fees. It also returns either :
root
: DATA
32 bytes of post-transaction stateroot (pre Byzantium)
status
: QUANTITY
either 1
(success) or 0
(failure)
QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the
Returns information about a uncle of a block by number and uncle index position.
QUANTITY|TAG
- a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.
QUANTITY
- the uncle's index position.
See "eth_getBlockByHash"
Returns information about a uncle of a block by hash and uncle index position.
DATA
, 32 Bytes - The hash of a block.
QUANTITY
- The uncle's index position.
Object
- A block object, or null
when no block was found:
number
: QUANTITY
- the block number. null
when its pending block.
hash
: DATA
, 32 Bytes - hash of the block. null
when its pending block.
parentHash
: DATA
, 32 Bytes - hash of the parent block.
nonce
: DATA
, 8 Bytes - hash of the generated proof-of-work. null
when its pending block.
sha3Uncles
: DATA
, 32 Bytes - SHA3 of the uncles data in the block.
logsBloom
: DATA
, 256 Bytes - the bloom filter for the logs of the block. null
when its pending block.
transactionsRoot
: DATA
, 32 Bytes - the root of the transaction trie of the block.
stateRoot
: DATA
, 32 Bytes - the root of the final state trie of the block.
receiptsRoot
: DATA
, 32 Bytes - the root of the receipts trie of the block.
miner
: DATA
, 20 Bytes - the address of the beneficiary to whom the mining rewards were given.
difficulty
: QUANTITY
- integer of the difficulty for this block.
totalDifficulty
: QUANTITY
- integer of the total difficulty of the chain until this block.
extraData
: DATA
- the "extra data" field of this block.
size
: QUANTITY
- integer the size of this block in bytes.
gasLimit
: QUANTITY
- the maximum gas allowed in this block.
gasUsed
: QUANTITY
- the total used gas by all transactions in this block.
timestamp
: QUANTITY
- the unix timestamp for when the block was collated.
transactions
: Array
- Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter.
uncles
: Array
- Array of uncle hashes.
Returns the number of uncles in a block from a block matching the given block hash.
QUANTITY|TAG
- integer of a block number, or the string "latest", "earliest" or "pending", see the default block parameter
QUANTITY
- integer of the number of uncles in this block.
Creates new message call transaction or a contract creation for signed transactions.
DATA
, The signed transaction data.
DATA
, 32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available.
Use eth_getTransactionReceipt to get the contract address, after the transaction was mined, when you created a contract.
Returns an object with data about the sync status or false.
None
Object|Boolean
, An object with sync status data or FALSE
, when not syncing:
startingBlock
: QUANTITY
- The block at which the import started (will only be reset, after the sync reached his head)
currentBlock
: QUANTITY
- The current block, same as eth_blockNumber
highestBlock
: QUANTITY
- The estimated highest block
Returns an object with data about the sync status or false.
subscription name
- string - The type of event you want to subscribe to (i.e., newHeads, logs, pendingTransactions, newPendingTransactions). This method supports the following subscription types:
pendingTransactions - Returns full transactions that are sent to the network, marked as pending, and are sent from or to a certain address.\
newPendingTransactions - Returns the hash for all transactions that are added to the pending state and are signed with a key that is available in the node.\
newHeads - Fires a notification each time a new header is appended to the chain, including chain reorganizations.\
logs - Returns logs that are included in new imported blocks and match the given filter criteria.
data - object -
(Optional) - Arguments such as an address, multiple addresses, and topics. Note, only logs that are created from these addresses or match the specified topics will return logs.
result - string
- Hex encoded subscription ID. This ID will be attached to all received events and can also be used to cancel the subscription using .
Uninstalls a filter with given id. Should always be called when watch is no longer needed. Additionally Filters timeout when they aren't requested with eth_getFilterChanges for a period of time.
Supported JSON-RPC methods for Avalanche mainnet and fuji testnet.
Contract Chain (C-Chain):
The trailing endpoint for C-Chain calls is:
The Contract Chain is the default smart contract blockchain on Avalanche and enables the creation of any Ethereum-compatible smart contracts. This blockchain is for applications that require total ordering (for faster asset transfers or any other commutative application, use the Exchange Chain). The Contract Chain implements the consensus protocol.
Returns Keccak-256 (not the standardized SHA3-256) of the given data.
DATA
- the data to convert into a SHA3 hash
DATA
- The SHA3 resultant hash of the given string
Executes a new message call immediately without creating a transaction on the block chain.
from
- [optional] String of the address the transaction is sent from.
to
- String of the address the transaction is directed to.
gas
- [optional] Integer of the gas provided for the transaction execution.
gasprice
- [optional] Integer of the gasPrice used for each paid gas encoded as a hexadecimal.
value
- [optional] Integer of the value sent with this transaction encoded as a hexadecimal.
data
- [optional] String of the hash of the method signature and encoded parameters. For more information, see the Contract ABI description in the Solidity documentation.
QUANTITY | TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameter
data
- hex value of the executed call or contract
Returns the number of most recent block.
None
INTEGER
- Value of the current block number the client is on
Returns the current client version
None
string
- The current client version 20 Bytes - addresses owned by the client
Returns a list of pending and queued transactions.
None.
A map of arrays of pending
and queued
transactions with the following fields:
blockHash
- Hash of block the transaction is in, null since its pending
blockNumber
- hexadecimal block number of the block the transaction is in, null since pending
from
- Address of the sender
gas
- The total amount of gas used in the transaction
gasPrice
- The total amount in wei the sender is willing to pay for the transaction
maxFeePerGas
- The maximum amount of gas willing to be paid for the transaction
maxPriorityFeePerGas
- The maximum amount of gas to be included as a tip to the miner
hash
- Hash of the transaction
input
- Encoded transaction input data
nonce
- Number of transactions the sender has sent till now
v
- hexadecimal ECDSA recovery id
r
- ECDSA signature r
s
- ECDSA signature s
to
- Address of the receiver
transactionIndex
- hexadecimal integer of the transactions index position in the block, null since pending
type
- A number between 0 and 0x7f, for a total of 128 possible transaction types.
value
- hexadecimal value transferred
QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete.
from
- [optional] String of the address the transaction is sent from.
to
- String of the address the transaction is directed to.
gas
- [optional] Integer of the gas provided for the transaction execution.
gasprice
- [optional] Integer of the gasPrice used for each paid gas encoded as a hexadecimal.
value
- [optional] Integer of the value sent with this transaction encoded as a hexadecimal.
data
- [optional] String of the hash of the method signature and encoded parameters. For more information, see the Contract ABI description in the Solidity documentation.
If no gas limit is specified geth uses the block gas limit from the pending block as an upper bound. As a result the returned estimate might not be enough to executed the call/transaction when the amount of gas is higher than the pending block gas limit.
__
String
- hex string value representing an integer of the amount of gas units used.
Returns the number of transactions in a block from a block matching the given block hash.
Parameters
DATA
, 32 Bytes - hash of a block
Returns
QUANTITY
- integer of the number of transactions in this block.
Returns information about a block by block number.
Parameters
QUANTITY|TAG
- integer of a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.
Boolean
- If true
it returns the full transaction objects, if false
only the hashes of the transactions.
Returns
Object
- A block object, or null
when no block was found:
number
: QUANTITY
- the block number. null
when its pending block.
hash
: DATA
, 32 Bytes - hash of the block. null
when its pending block.
parentHash
: DATA
, 32 Bytes - hash of the parent block.
nonce
: DATA
, 8 Bytes - hash of the generated proof-of-work. null
when its pending block.
sha3Uncles
: DATA
, 32 Bytes - SHA3 of the uncles data in the block.
logsBloom
: DATA
, 256 Bytes - the bloom filter for the logs of the block. null
when its pending block.
transactionsRoot
: DATA
, 32 Bytes - the root of the transaction trie of the block.
stateRoot
: DATA
, 32 Bytes - the root of the final state trie of the block.
receiptsRoot
: DATA
, 32 Bytes - the root of the receipts trie of the block.
miner
: DATA
, 20 Bytes - the address of the beneficiary to whom the mining rewards were given.
difficulty
: QUANTITY
- integer of the difficulty for this block.
totalDifficulty
: QUANTITY
- integer of the total difficulty of the chain until this block.
extraData
: DATA
- the "extra data" field of this block.
size
: QUANTITY
- integer the size of this block in bytes.
gasLimit
: QUANTITY
- the maximum gas allowed in this block.
gasUsed
: QUANTITY
- the total used gas by all transactions in this block.
timestamp
: QUANTITY
- the unix timestamp for when the block was collated.
transactions
: Array
- Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter.
uncles
: Array
- Array of uncle hashes.
QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the
Polling method for a filter, which returns an array of logs which occurred since last poll.
QUANTITY
- the filter id.
Array
- Array of log objects, or an empty array if nothing has changed since last poll.
For filters created with eth_newBlockFilter
the return are block hashes (DATA
, 32 Bytes), e.g. ["0x3454645634534..."]
.
For filters created with eth_newPendingTransactionFilter
the return are transaction hashes (DATA
, 32 Bytes), e.g. ["0x6345343454645..."]
.
For filters created with eth_newFilter
logs are objects with following params:
removed
: TAG
- true
when the log was removed, due to a chain reorganization. false
if its a valid log.
logIndex
: QUANTITY
- integer of the log index position in the block. null
when its pending log.
transactionIndex
: QUANTITY
- integer of the transactions index position log was created from. null
when its pending log.
transactionHash
: DATA
, 32 Bytes - hash of the transactions this log was created from. null
when its pending log.
blockHash
: DATA
, 32 Bytes - hash of the block where this log was in. null
when its pending. null
when its pending log.
blockNumber
: QUANTITY
- the block number where this log was in. null
when its pending. null
when its pending log.
address
: DATA
, 20 Bytes - address from which this log originated.
data
: DATA
- contains one or more 32 Bytes non-indexed arguments of the log.
topics
: Array of DATA
- Array of 0 to 4 32 Bytes DATA
of indexed log arguments. (In solidity: The first topic is the hash of the signature of the event (e.g. Deposit(address,bytes32,uint256)
), except you declared the event with the anonymous
specifier.)
Returns the number of transactions sent from an address.
DATA
, 20 Bytes - address.
QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameter
QUANTITY
- String hex value representing integer of the number of transactions sent from this address.
Returns information about a transaction by block hash and transaction index position.
DATA
, 32 Bytes - hash of a block.
QUANTITY
- integer of the transaction index position.
Object
- A transaction object, or null
when no transaction was found:
blockHash
: DATA
, 32 Bytes - hash of the block where this transaction was in. null
when its pending.
blockNumber
: QUANTITY
- block number where this transaction was in. null
when its pending.
from
: DATA
, 20 Bytes - address of the sender.
gas
: QUANTITY
- gas provided by the sender.
gasPrice
: QUANTITY
- gas price provided by the sender in Wei.
hash
: DATA
, 32 Bytes - hash of the transaction.
input
: DATA
- the data send along with the transaction.
nonce
: QUANTITY
- the number of transactions made by the sender prior to this one.
to
: DATA
, 20 Bytes - address of the receiver. null
when its a contract creation transaction.
transactionIndex
: QUANTITY
- integer of the transactions index position in the block. null
when its pending.
value
: QUANTITY
- value transferred in Wei.
v
: QUANTITY
- ECDSA recovery id
r
: QUANTITY
- ECDSA signature r
s
: QUANTITY
- ECDSA signature s
Returns an array of all logs matching a given filter object.
Object
- The filter options:
fromBlock
: QUANTITY|TAG
- (optional, default: "latest"
) Integer block number, or "latest"
for the last mined block or "pending"
, "earliest"
for not yet mined transactions.
toBlock
: QUANTITY|TAG
- (optional, default: "latest"
) Integer block number, or "latest"
for the last mined block or "pending"
, "earliest"
for not yet mined transactions.
address
: DATA|Array
, 20 Bytes - (optional) Contract address or a list of addresses from which logs should originate.
topics
: Array of DATA
, - (optional) Array of 32 Bytes DATA
topics. Topics are order-dependent. Each topic can also be an array of DATA with "or" options.
blockhash
: DATA
, 32 Bytes - (optional, future) With the addition of EIP-234, blockHash
will be a new filter option which restricts the logs returned to the single block with the 32-byte hash blockHash
. Using blockHash
is equivalent to fromBlock
= toBlock
= the block number with hash blockHash
. If blockHash
is present in in the filter criteria, then neither fromBlock
nor toBlock
are allowed.
Array
- Array of log objects, or an empty array if nothing has changed since last poll.
For filters created with eth_newBlockFilter
the return are block hashes (DATA
, 32 Bytes), e.g. ["0x3454645634534..."]
.
For filters created with eth_newPendingTransactionFilter
the return are transaction hashes (DATA
, 32 Bytes), e.g. ["0x6345343454645..."]
.
For filters created with eth_newFilter
logs are objects with following params:
removed
: TAG
- true
when the log was removed, due to a chain reorganization. false
if its a valid log.
logIndex
: QUANTITY
- integer of the log index position in the block. null
when its pending log.
transactionIndex
: QUANTITY
- integer of the transactions index position log was created from. null
when its pending log.
transactionHash
: DATA
, 32 Bytes - hash of the transactions this log was created from. null
when its pending log.
blockHash
: DATA
, 32 Bytes - hash of the block where this log was in. null
when its pending. null
when its pending log.
blockNumber
: QUANTITY
- the block number where this log was in. null
when its pending. null
when its pending log.
address
: DATA
, 20 Bytes - address from which this log originated.
data
: DATA
- contains one or more 32 Bytes non-indexed arguments of the log.
topics
: Array of DATA
- Array of 0 to 4 32 Bytes DATA
of indexed log arguments. (In solidity: The first topic is the hash of the signature of the event (e.g. Deposit(address,bytes32,uint256)
), except you declared the event with the anonymous
specifier.)
See
Returns information about a transaction by block number and transaction index position.
QUANTITY|TAG
- a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.
QUANTITY
- the transaction index position.
Object
- A transaction object, or null
when no transaction was found:
blockHash
: DATA
, 32 Bytes - hash of the block where this transaction was in. null
when its pending.
blockNumber
: QUANTITY
- block number where this transaction was in. null
when its pending.
from
: DATA
, 20 Bytes - address of the sender.
gas
: QUANTITY
- gas provided by the sender.
gasPrice
: QUANTITY
- gas price provided by the sender in Wei.
hash
: DATA
, 32 Bytes - hash of the transaction.
input
: DATA
- the data send along with the transaction.
nonce
: QUANTITY
- the number of transactions made by the sender prior to this one.
to
: DATA
, 20 Bytes - address of the receiver. null
when its a contract creation transaction.
transactionIndex
: QUANTITY
- integer of the transactions index position in the block. null
when its pending.
value
: QUANTITY
- value transferred in Wei.
v
: QUANTITY
- ECDSA recovery id
r
: QUANTITY
- ECDSA signature r
s
: QUANTITY
- ECDSA signature s
Returns information about a uncle of a block by number and uncle index position.
QUANTITY|TAG
- a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.
QUANTITY
- the uncle's index position.
See "eth_getBlockByHash"
Returns the number of uncles in a block from a block matching the given block hash.
QUANTITY|TAG
- integer of a block number, or the string "latest", "earliest" or "pending", see the default block parameter
QUANTITY
- integer of the number of uncles in this block.
This endpoint allows you to get the transactions in a block and the corresponding block information.
Returns a list of addresses owned by client.
None
array of data
- 20 Bytes - addresses owned by the client
Get a table item at a specific ledger version from the table.
Returns the number of transactions in a block matching the given block number.
Parameters
QUANTITY|TAG
- integer of a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.
Returns
QUANTITY
- integer of the number of transactions in this block.
Returns an array of all logs matching filter with given id.
QUANTITY
- the filter id.
Array
- Array of log objects, or an empty array if nothing has changed since last poll.
For filters created with eth_newBlockFilter
the return are block hashes (DATA
, 32 Bytes), e.g. ["0x3454645634534..."]
.
For filters created with eth_newPendingTransactionFilter
the return are transaction hashes (DATA
, 32 Bytes), e.g. ["0x6345343454645..."]
.
For filters created with eth_newFilter
logs are objects with following params:
removed
: TAG
- true
when the log was removed, due to a chain reorganization. false
if its a valid log.
logIndex
: QUANTITY
- integer of the log index position in the block. null
when its pending log.
transactionIndex
: QUANTITY
- integer of the transactions index position log was created from. null
when its pending log.
transactionHash
: DATA
, 32 Bytes - hash of the transactions this log was created from. null
when its pending log.
blockHash
: DATA
, 32 Bytes - hash of the block where this log was in. null
when its pending. null
when its pending log.
blockNumber
: QUANTITY
- the block number where this log was in. null
when its pending. null
when its pending log.
address
: DATA
, 20 Bytes - address from which this log originated.
data
: DATA
- contains one or more 32 Bytes non-indexed arguments of the log.
topics
: Array of DATA
- Array of 0 to 4 32 Bytes DATA
of indexed log arguments. (In solidity: The first topic is the hash of the signature of the event (e.g. Deposit(address,bytes32,uint256)
), except you declared the event with the anonymous
specifier.)
Returns information about a block by hash.
Parameters
DATA
, 32 Bytes - Hash of a block.
Boolean
- If true
it returns the full transaction objects, if false
only the hashes of the transactions are returned.
Returns
Object
- A block object, or null
when no block was found:
number
: QUANTITY
- the block number. null
when its pending block.
hash
: DATA
, 32 Bytes - hash of the block. null
when its pending block.
parentHash
: DATA
, 32 Bytes - hash of the parent block.
nonce
: DATA
, 8 Bytes - hash of the generated proof-of-work. null
when its pending block.
sha3Uncles
: DATA
, 32 Bytes - SHA3 of the uncles data in the block.
logsBloom
: DATA
, 256 Bytes - the bloom filter for the logs of the block. null
when its pending block.
transactionsRoot
: DATA
, 32 Bytes - the root of the transaction trie of the block.
stateRoot
: DATA
, 32 Bytes - the root of the final state trie of the block.
receiptsRoot
: DATA
, 32 Bytes - the root of the receipts trie of the block.
miner
: DATA
, 20 Bytes - the address of the beneficiary to whom the mining rewards were given.
difficulty
: QUANTITY
- integer of the difficulty for this block.
totalDifficulty
: QUANTITY
- integer of the total difficulty of the chain until this block.
extraData
: DATA
- the "extra data" field of this block.
size
: QUANTITY
- integer the size of this block in bytes.
gasLimit
: QUANTITY
- the maximum gas allowed in this block.
gasUsed
: QUANTITY
- the total used gas by all transactions in this block.
timestamp
: QUANTITY
- the unix timestamp for when the block was collated.
transactions
: Array
- Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter.
uncles
: Array
- Array of uncle hashes.
Event types are globally identifiable by an account address and monotonically increasing creation_number. This API returns events corresponding to that event type.
Returns the balance of the account of given address.
DATA
, 20 Bytes - address of the storage.
QUANTITY
- integer of the position in the storage.
QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameter
String
- Hex value representing data at this storage position.
Returns the information about a transaction requested by transaction hash.
Parameters
DATA
, 32 Bytes - hash of a transaction
Returns
Object
- A transaction object, or null
when no transaction was found:
blockHash
: DATA
, 32 Bytes - hash of the block where this transaction was in. null
when its pending.
blockNumber
: QUANTITY
- block number where this transaction was in. null
when its pending.
from
: DATA
, 20 Bytes - address of the sender.
gas
: QUANTITY
- gas provided by the sender.
gasPrice
: QUANTITY
- gas price provided by the sender in Wei.
hash
: DATA
, 32 Bytes - hash of the transaction.
input
: DATA
- the data send along with the transaction.
nonce
: QUANTITY
- the number of transactions made by the sender prior to this one.
to
: DATA
, 20 Bytes - address of the receiver. null
when its a contract creation transaction.
transactionIndex
: QUANTITY
- integer of the transactions index position in the block. null
when its pending.
value
: QUANTITY
- value transferred in Wei.
v
: QUANTITY
- ECDSA recovery id
r
: QUANTITY
- ECDSA signature r
s
: QUANTITY
- ECDSA signature s
Returns the receipt of a transaction by transaction hash. Note that the receipt is not available for pending transactions.
DATA
, 32 Bytes - hash of a transaction
Object
- A transaction receipt object, or null
when no receipt was found:
transactionHash
: DATA
, 32 Bytes - hash of the transaction.
transactionIndex
: QUANTITY
- integer of the transactions index position in the block.
blockHash
: DATA
, 32 Bytes - hash of the block where this transaction was in.
blockNumber
: QUANTITY
- block number where this transaction was in.
from
: DATA
, 20 Bytes - address of the sender.
to
: DATA
, 20 Bytes - address of the receiver. null when its a contract creation transaction.
cumulativeGasUsed
: QUANTITY
- The total amount of gas used when this transaction was executed in the block.
effectiveGasPrice
: QUANTITY
- The sum of the base fee and tip paid per unit of gas.
gasUsed
: QUANTITY
- The amount of gas used by this specific transaction alone.
contractAddress
: DATA
, 20 Bytes - The contract address created, if the transaction was a contract creation, otherwise null
.
logs
: Array
- Array of log objects, which this transaction generated.
logsBloom
: DATA
, 256 Bytes - Bloom filter for light clients to quickly retrieve related logs.
type
: DATA
- integer of the transaction type, 0x00
for legacy transactions, 0x01
for access list types, 0x02
for dynamic fees. It also returns either :
root
: DATA
32 bytes of post-transaction stateroot (pre Byzantium)
status
: QUANTITY
either 1
(success) or 0
(failure)
Returns information about a uncle of a block by hash and uncle index position.
DATA
, 32 Bytes - The hash of a block.
QUANTITY
- The uncle's index position.
Object
- A block object, or null
when no block was found:
number
: QUANTITY
- the block number. null
when its pending block.
hash
: DATA
, 32 Bytes - hash of the block. null
when its pending block.
parentHash
: DATA
, 32 Bytes - hash of the parent block.
nonce
: DATA
, 8 Bytes - hash of the generated proof-of-work. null
when its pending block.
sha3Uncles
: DATA
, 32 Bytes - SHA3 of the uncles data in the block.
logsBloom
: DATA
, 256 Bytes - the bloom filter for the logs of the block. null
when its pending block.
transactionsRoot
: DATA
, 32 Bytes - the root of the transaction trie of the block.
stateRoot
: DATA
, 32 Bytes - the root of the final state trie of the block.
receiptsRoot
: DATA
, 32 Bytes - the root of the receipts trie of the block.
miner
: DATA
, 20 Bytes - the address of the beneficiary to whom the mining rewards were given.
difficulty
: QUANTITY
- integer of the difficulty for this block.
totalDifficulty
: QUANTITY
- integer of the total difficulty of the chain until this block.
extraData
: DATA
- the "extra data" field of this block.
size
: QUANTITY
- integer the size of this block in bytes.
gasLimit
: QUANTITY
- the maximum gas allowed in this block.
gasUsed
: QUANTITY
- the total used gas by all transactions in this block.
timestamp
: QUANTITY
- the unix timestamp for when the block was collated.
transactions
: Array
- Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter.
uncles
: Array
- Array of uncle hashes.
Creates new message call transaction or a contract creation for signed transactions.
DATA
, The signed transaction data.
DATA
, 32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available.
Use eth_getTransactionReceipt to get the contract address, after the transaction was mined, when you created a contract.