Skip to main content
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): a receiveWithAuthorization signature. Works for tokens that implement EIP-3009, such as USDC.
  • Permit2 (permit2Authorization): a PermitTransferFrom signature. Works for any ERC-20 once the payer has approved Permit2. Add eip2612Permit to grant that approval by signature when the token supports EIP-2612, so the payer needs no gas at all.
Native ETH cannot be deposited this way. The SDKs build and sign these bodies for you; see the deposit section of each SDK’s client operations page. POST /deposit/verify takes the same body, runs every check without broadcasting, and answers with the /verify response shape.

Request body

string
CAIP-2 network ID. When omitted, the facilitator uses the first network it serves whose core accepts the asset. Send it.
string
required
Token address.
string
required
Base units, decimal or 0x hex. Must equal the signed amount and be greater than zero.
string
eip3009|permit2
Optional. It must agree with the authorization you send.
object
EIP-3009 authorization: from, validAfter, validBefore, nonce, v, r, s.
object
Permit2 authorization: from, nonce, deadline, signature.
object
Only with permit2Authorization: value, deadline, v, r, s.

Responses

Every request the facilitator can parse returns 200. Read success. The facilitator waits for the transaction’s receipt before it answers.
boolean
required
string
Transaction hash. Present on success, and on a failure that happened after broadcast.
string
The network the deposit was sent on. Present on success.
string
The address credited. Present on success.
string
string
Base units, decimal.
string
A machine-readable reason code. Present on failure.
string
boolean
Whether repeating the same request later may succeed. Present on failure.
object
Present for permit2_allowance_required: what the payer must approve.

Reason codes

Status codes