GET /tx/{hash}
Where a transaction is: unknown, pending, confirmed or reverted.
GET https://uprally.co/api/v1/tx/{hash}Parameters
Section titled “Parameters”| Name | In | Required | Meaning |
|---|---|---|---|
hash | path | yes | The transaction hash |
Response
Section titled “Response”| Field | Type | Required | Meaning |
|---|---|---|---|
hash | string | yes | |
state | unknown · pending · confirmed · reverted | yes | |
explorer | string | yes |
A real response
Section titled “A real response”Captured from the live API on Robinhood Chain, exactly as it was sent (long calldata shortened).
{ "hash": "0x6d5b8120b7a2f5f2cc465360bef088584de2d906e8ba84b6f84047ca732b19b1", "state": "confirmed", "block": 89764022, "from": "0xfc9cd1ae0f5f6ae51f5c8fef890aefb58d2a9207", "to": "0x4236bbfbc42c01ca24a4f10fbb621041beb24d6b", "gasUsed": "564147", "feeEth": "0.000011693639016", "explorer": "https://robin.etherscan.io/tx/0x6d5b8120b7a2f5f2cc465360bef088584de2d906e8ba84b6f84047ca732b19b1"}Errors
Section titled “Errors”Every error is { "error": { "code", "message", "fix"? } }. This endpoint can answer:
INVALID_HASH: That is not a transaction hash.CHAIN_UNREACHABLE: Robinhood Chain could not be read or simulated just now.