Get transaction by hash
Retrieves a transaction by its on-chain hash, scoped to the caller's organization — a hash is public data, but whether this platform has a record of it is not.
https://testnet.universal-escrow.xyz/v1/transactions/by-hash/{hash}
Returns statusHistory (every transition with its timestamp), which distinguishes "pending for four seconds" from "pending for four hours".
Authorizations
AuthorizationstringheaderrequiredBearer authentication with your secret API key: Bearer esc_test_<prefix>_<secret>. The key needs the escrows:read scope.
Path Parameters
hashstringrequiredResponse
200 · Transaction · application/jsonidstringrequiredPublic id.
organizationIdstringrequiredescrowIdstringrequiredchainIdnumberrequiredhashstringrequiredfromAddressstring | nullrequiredtoAddressstring | nullrequiredpurposeTransactionPurposerequiredOne of APPROVAL, FUNDING, RELEASE, REFUND, DISPUTE_RESOLUTION.
statusBlockchainTransactionStatusrequiredOne of REGISTERED, PENDING, CONFIRMED, FAILED, DROPPED, REPLACED, REORGED.
confirmationsnumberrequiredrequiredConfirmationsnumberrequiredblockNumberstring | nullrequiredBlock height as a decimal string.
blockHashstring | nullrequiredfailureCodestring | nullrequiredMachine-readable reason for FAILED, DROPPED, REPLACED or REORGED.
failureReasonstring | nullrequiredWhat failed and where. Never payload content.
statusHistoryTransactionStatusHistory[]requiredEvery transition, oldest first.
replacedBystring | nullrequiredThe hash that superseded this transaction.
createdAtstringrequiredRFC 3339 UTC timestamp.
updatedAtstringrequiredRFC 3339 UTC timestamp.