POST /deposit
The payer signs an authorization off-chain and the facilitator’s relayer submits the deposit and pays the gas. Collateral is credited to the signer, never to the relayer: the signature binds the destination and the amount, so the facilitator can only decide whether to submit.
Two authorization types are accepted. Send exactly one.
- EIP-3009 (
authorization): areceiveWithAuthorizationsignature. Works for tokens that implement EIP-3009, such as USDC. - Permit2 (
permit2Authorization): aPermitTransferFromsignature. Works for any ERC-20 once the payer has approved Permit2. Addeip2612Permitto grant that approval by signature when the token supports EIP-2612, so the payer needs no gas at all.
POST /deposit/verify takes the same body, runs every check without broadcasting, and answers with the /verify response shape.
Request body
CAIP-2 network ID. When omitted, the facilitator uses the first network it serves whose core accepts the asset. Send it.
Responses
Every request the facilitator can parse returns200. Read success. The facilitator waits for the transaction’s receipt before it answers.