Skip to content

GET /tx/{hash}

Where a transaction is: unknown, pending, confirmed or reverted.

GET https://uprally.co/api/v1/tx/{hash}
NameInRequiredMeaning
hashpathyesThe transaction hash
FieldTypeRequiredMeaning
hashstringyes
stateunknown · pending · confirmed · revertedyes
explorerstringyes

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"
}

Every error is { "error": { "code", "message", "fix"? } }. This endpoint can answer: