▶ API Endpoints
GET
/api/auction/info
Get current auction status. Returns auction parameters, current price, total raised, and available supply.
curl https://x402.palette.finance/api/auction/info
GET
/api/auction/bid?ton_amount=N&wallet=ADDR
402
Create a bid. Returns 402 Payment Required with payment instructions. One bid per wallet (1-100 TON).
curl "https://x402.palette.finance/api/auction/bid?ton_amount=5&wallet=UQBlen..."
Returns HTTP 402: Payment required. Send TON to address with bid_id as comment.
Payment expires in 180 seconds. No refunds after payment.
GET
/api/auction/my-bid?wallet=ADDR
Check your bid status. Returns bid details, payment status, and estimated token allocation.
curl "https://x402.palette.finance/api/auction/my-bid?wallet=UQBlen..."
GET
/api/auction/bids?limit=20
Get recent bids list. Returns last N completed bids with bidder address, amount, price, and time.
curl "https://x402.palette.finance/api/auction/bids?limit=20"
Response Codes: 200 OK | 402 Payment Required | 409 Conflict (bid exists) | 410 Gone (auction closed) | 422 Invalid Amount