checkout
Xchain Source Tx Recorded
Called by the frontend immediately after MetaMask returns a tx hash for the swapAndBridge call. Records the source_tx_hash on the bridge-attempt row, advancing its state from pending_signature to pending_bridge.
Body: { attempt_id: int, source_tx_hash: str }
Idempotent: re-POSTing with the same source_tx_hash for the same attempt is a no-op. Mismatched source_tx_hash on a row that already has one is rejected with 400 — exactly one source tx per attempt.
Per Comet review 2026-05-04 — without this, AlgoVoi can't reconcile Allbridge's destination tx back to the shopper's checkout.
post/checkout/{token}/xchain/source-tx-recorded
Request
- Base URL: https://api.algovoi.co.uk (the document declares no server; this is the origin it was published from)
- URL: https://api.algovoi.co.uk/checkout/{token}/xchain/source-tx-recorded
- Auth: none declared
Path parameters
tokenstring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.