Returns the receipts of a block by number or hash.
https://api.1inch.com/web3/10
Parameters
Block (required)
Block
* any
anyOf[0]
string
anyOf[1]
string (Enum)
`earliest`: The lowest numbered block the client has available; `finalized`: The most recent crypto-economically secure block, cannot be re-orged outside of manual intervention driven by community coordination; `safe`: The most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions; `latest`: The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions; `pending`: A sample next block built by the client on top of `latest` and containing the set of transactions usually taken from local mempool. Before the merge transition is finalized, any call querying for `finalized` or `safe` block MUST be responded to with `-39001: Unknown block` error
earliest
finalized
safe
latest
pending
anyOf[2]
string
Request
Request
object
jsonrpc
* string (Enum)
JSON-RPC version
2.0
method
* string
The method to call
params
array
Method parameters
items
any
anyOf[0]
string
anyOf[1]
string (Enum)
`earliest`: The lowest numbered block the client has available; `finalized`: The most recent crypto-economically secure block, cannot be re-orged outside of manual intervention driven by community coordination; `safe`: The most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions; `latest`: The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions; `pending`: A sample next block built by the client on top of `latest` and containing the set of transactions usually taken from local mempool. Before the merge transition is finalized, any call querying for `finalized` or `safe` block MUST be responded to with `-39001: Unknown block` error
Address of the receiver or null in a contract creation transaction.
oneOf[0]
null
oneOf[1]
string
cumulativeGasUsed
* string
The sum of gas used by this transaction and all preceding transactions in the same block.
gasUsed
* string
The amount of gas used for this specific transaction alone.
blobGasUsed
string
The amount of blob gas used for this specific transaction. Only specified for blob transactions as defined by EIP-4844.
contractAddress
any
The contract address created, if the transaction was a contract creation, otherwise null.
oneOf[0]
string
oneOf[1]
null
logs
* array
items
object
removed
boolean
logIndex
string
transactionIndex
string
transactionHash
* string
blockHash
string
blockNumber
string
address
string
data
string
topics
array
items
string
additionalProperties
none
logsBloom
* string
root
string
The post-transaction state root. Only specified for transactions included before the Byzantium upgrade.
status
string
Either 1 (success) or 0 (failure). Only specified for transactions included after the Byzantium upgrade.
effectiveGasPrice
* string
The actual value per gas deducted from the sender's account. Before EIP-1559, this is equal to the transaction's gas price. After, it is equal to baseFeePerGas + min(maxFeePerGas - baseFeePerGas, maxPriorityFeePerGas).
blobGasPrice
string
The actual value per gas deducted from the sender's account for blob gas. Only specified for blob transactions as defined by EIP-4844.