get https://ag.eqhub.eqbr.com/api/v2/request/transaction/
Returns information about transactions that occurred in a specific blockchain environment with the transaction hash value as an identification value. A transaction hash value is a unique value that can identify a transaction.
Response
Name | Type | Required | Description |
---|---|---|---|
transaction | Object | True | Object representing transaction information. |
transaction object
Name | Type | Required | Description |
---|---|---|---|
blockHash | String | True | Hash of the block. |
blockNumber | Number | True | Number(height) of the block. |
from | String | True | Address which the transaction was sent from. |
gas | String | True | Integer of the gas provided for the transaction execution. |
gasPrice | String | True | Fixed gas price used for calculating on blockchain environment. |
hash | String | True | Hash of the transaction. |
input | String | True | Integer of the transactions index position in the block. |
nonce | String | True | The number of transactions made by the sender prior to this one. |
to | String | True | Address which the transaction was sent to. |
transactionIndex | String | True | Integer of the transactions index position in the block. |
value | String | True | Integer of the value sent with this transaction. |
type | String | True | Indicates the type of transaction performed on the blockchain network. |
v | String | True | Values for the transaction's signature. |
r | String | True | Values for the transaction's signature. |
s | String | True | Values for the transaction's signature. |
parsedInput | Object | Optional | Null if smart contract information, which includes the transaction which created this log, is not uploaded to EQ Hub. |
parsedInput object
Name | Type | Required | Description |
---|---|---|---|
name | String | True | The name of the function pre-defined in the ABI code. |
data | Object | True | Input Array 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 Input 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. |