UniversalEscrow
DocumentationAPI reference
Transactions

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.

GET

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

Authorizationstringheaderrequired

Bearer authentication with your secret API key: Bearer esc_test_<prefix>_<secret>. The key needs the escrows:read scope.

How authentication works

Path Parameters

hashstringrequired

Response

200 · Transaction · application/json
idstringrequired

Public id.

organizationIdstringrequired
escrowIdstringrequired
chainIdnumberrequired
hashstringrequired
fromAddressstring | nullrequired
toAddressstring | nullrequired
purposeTransactionPurposerequired

One of APPROVAL, FUNDING, RELEASE, REFUND, DISPUTE_RESOLUTION.

statusBlockchainTransactionStatusrequired

One of REGISTERED, PENDING, CONFIRMED, FAILED, DROPPED, REPLACED, REORGED.

confirmationsnumberrequired
requiredConfirmationsnumberrequired
blockNumberstring | nullrequired

Block height as a decimal string.

blockHashstring | nullrequired
failureCodestring | nullrequired

Machine-readable reason for FAILED, DROPPED, REPLACED or REORGED.

failureReasonstring | nullrequired

What failed and where. Never payload content.

statusHistoryTransactionStatusHistory[]required

Every transition, oldest first.

replacedBystring | nullrequired

The hash that superseded this transaction.

createdAtstringrequired

RFC 3339 UTC timestamp.

updatedAtstringrequired

RFC 3339 UTC timestamp.