Prepare funding transaction
Returns unsigned transaction(s) (calldata) for the buyer's own wallet to sign and broadcast — the backend never signs or holds a private key.
https://testnet.universal-escrow.xyz/v1/escrows/{escrowId}/funding-intent
This call changes nothing on the escrow; the escrow does not advance until the resulting hash is registered and confirmed on chain. Prerequisite: the escrow must be in a pre-funding state (e.g. AWAITING_FUNDING). Body: buyerWallet (optional address) — required when the escrow was created without a buyer, where it is bound as the buyer (replaceable until funding is submitted); must match when the buyer was fixed at creation (409 buyer_wallet_mismatch).
Authorizations
AuthorizationstringheaderrequiredBearer authentication with your secret API key: Bearer esc_test_<prefix>_<secret>. The key needs the escrows:write scope.
Path Parameters
escrowIdstringrequiredBody
application/jsonbuyerWalletstringThe wallet that will fund the escrow. Required while the escrow has no buyer; for a bound escrow it must match the bound buyer unless the buyer was only provisionally bound at checkout and nothing has been submitted yet.
Response
201 · EscrowIntent · application/jsonUnsigned transactions to sign in order. The escrow did not move.
escrowIdstringrequiredtransactionsTransactionRequest[]requiredTransactions to sign, in order.
statusEscrowStatusrequiredexpiresAtstringWhen the embedded authorization expires. RFC 3339.
operationIdstringThe settlement operation recorded at REQUESTED; the escrow itself did not move.
expectedRecipientsobjectWho this settlement pays, keyed by role (seller, feeRecipient, buyer). Absent on funding intents.