Skip to main content
GET
/
transactions
/
{hash}
Get Transaction by Hash
curl --request GET \
  --url https://indexer.mainnet.incentiv.io/api/transactions/{hash}
{
  "hash": "<string>",
  "blockNumber": 123,
  "timestamp": 123,
  "from": "<string>",
  "to": "<string>",
  "value": "<string>",
  "gasUsed": "<string>",
  "gasPrice": "<string>",
  "nonce": 123,
  "input": "<string>",
  "status": "<string>"
}

Path Parameters

hash
string
required

Hash of the transaction to retrieve.

Response

Transaction details.

hash
string
required

Unique hash that identifies the transaction.

blockNumber
integer
required

Block number in which this transaction was included.

timestamp
integer
required

UNIX timestamp of when the transaction was mined.

from
string
required

Address of the sender of the transaction.

to
string
required

Address of the receiver of the transaction.

value
string
required

Amount of cryptocurrency transferred in the transaction.

gasUsed
string
required

Gas used by this transaction.

gasPrice
string
required

Gas price paid per unit of gas.

nonce
integer
required

Transaction nonce to prevent replay attacks.

input
string
required

Input data sent with the transaction.

status
string
required

Status of the transaction execution, e.g., success or failure.