/request/transaction/:transactionHash/polling

The transaction hash value is used as an identification value to receive the receipt result of a transaction that occurred in a specific blockchain environment. The request maintains the connection until a response is received through long polling method.

Response

NameTypeRequiredDescription
blockHashStringTrueHash of the block.
blockNumberNumberTrueNumber(height) of the block.
contractAddressStringTrueContract address is an identifier acquired from contract deployment process.
cumulativeGasUsedStringTrueThe 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)
effectiveGasPriceStringTrueThe 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)
fromStringTrueAddress which the transaction was sent from.
gasUsedStringTrueThe total amount of gas consumed by a transaction during its execution. (Value not in use)
logsObject[]OptionalArray of log objects.
logsBloomStringTrueA bitwise representation of the log topics in a block. (Value not in use)
statusBoolTrueIndicates whether the transaction is successful.
toStringTrueAddress which the transaction was sent to.
transactionHashStringTrueHash of the transaction.
transactionIndexStringTrueInteger of the transactions index position in the block.
typeStringOptionalIndicates the type of transaction performed on the blockchain network.

logs object array

NameTypeRequiredDescription
addressStringTrueAddress from.
topicsString[]TrueArray of 0 to 4 32 Bytes DATA of indexed log arguments.
dataStringTrueOne or more 32 Bytes non-indexed arguments of the log
blockNumberNumberTrueNumber(height) of the block.
transactionhashStringTrueHash of the transaction.
transactionIndexStringTrueInteger of the transactions index position in the block.
blockHashStringTrueHash of the block.
logIndexStringTrueInteger of the log index position in the block.
removedBoolTrueTrue when the log was removed, due to a blockchain environment reorganization. false if its a valid log.
parsedLogObjectTrueNull if smart contract information, which includes the transaction which created this log, is not uploaded to EQ Hub.

parsedLog object

NameTypeRequiredDescription
nameStringTrueThe name of the function pre-defined in the ABI code.
dataObjectTrueLog 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.
Language
Click Try It! to start a request and see the response here!