get https://ag.eqhub.eqbr.com/api/v2/request/transaction//receipt
Returns the receipt information of a transaction that occurred in a specific blockchain environment with the transaction hash value as an identification value. Receipt is data that contains information about the result of a transaction that occurred on the blockchain network. It includes details such as transaction status, amount of gas used, and logs created. A transaction hash value is a unique value that can identify a transaction.
Response
Name | Type | Required | Description |
---|---|---|---|
receipt | Object | True | Object representing receipt information. |
receipt object
Name | Type | Required | Description |
---|---|---|---|
blockHash | String | True | Hash of the block. |
blockNumber | Number | True | Number(height) of the block. |
contractAddress | String | True | Contract address is an identifier acquired from contract deployment process. |
cumulativeGasUsed | String | True | The cumulative gas used is the total amount of gas consumed by a transaction and all preceding transactions in a block, reflecting the cumulative cost of executing those transactions. (Value not in use) |
effectiveGasPrice | String | True | The effective gas price is the real-time price per unit of gas that a user pays for a transaction, accounting for network conditions and demand, determining the cost of transaction execution in terms of gas fees. (Value not in use) |
from | String | True | Address which the transaction was sent from. |
gasUsed | String | True | The total amount of gas consumed by a transaction during its execution. (Value not in use) |
logs | Object[] | Optional | Array of log objects. |
logsBloom | String | True | A bitwise representation of the log topics in a block. (Value not in use) |
status | Bool | True | Indicates whether the transaction is successful. |
to | String | True | Address which the transaction was sent to. |
transactionHash | String | True | Hash of the transaction. |
transactionIndex | String | True | Integer of the transactions index position in the block. |
type | String | Optional | Indicates the type of transaction performed on the blockchain network. |
logs object array
Name | Type | Required | Description |
---|---|---|---|
address | String | True | Address from. |
topics | String[] | True | Array of 0 to 4 32 Bytes DATA of indexed log arguments. |
data | String | True | One or more 32 Bytes non-indexed arguments of the log. |
blockNumber | Number | True | Number(height) of the block. |
transactionHash | String | True | Hash of the transaction. |
transactionIndex | String | True | Integer of the transactions index position in the block. |
blockHash | String | True | Hash of the block. |
logIndex | String | True | Integer of the log index position in the block. |
removed | Bool | True | True when the log was removed, due to a blockchain environment reorganization. false if its a valid log. |
parsedLog | Object | True | Null if smart contract information, which includes the transaction which created this log, is not uploaded to EQ Hub. |
parsedLog object
Name | Type | Required | Description |
---|---|---|---|
name | String | True | The name of the function pre-defined in the ABI code. |
data | Object | True | Log object is parsed into JSON object. The object is consisted of parameters specified below. 1. Key, value pair of index and value. 2. The length of Log array passed. 3. Key, value pair of the parsed key, value from ABI code. If the name is defined as empty in ABI code, the third parameter will not exist. |