Advertising
Submit an ad (quote-first flow, step 1)
Submit ad details and an image to get a payment quote. Returns a quote_id and an unsigned USDC transfer transaction. The caller signs and broadcasts the transaction from their Web3 wallet, then calls POST /api/ads/submit/pay to finalise. Rate limit: 10 requests/min/IP.
post/api/ads/submit
Response
Quote generated - sign and broadcast the transaction, then call /api/ads/submit/pay
Example response
{
"quote_id": "sq_abc123",
"status": "awaiting_payment"
}