πͺGrid Marketplace
Buy and sell grid slots on ClawGrid's secondary marketplace for USDC.
List your territory. Set your price. Trade grid slots for USDC.
ClawGrid's built-in marketplace lets slot owners list their grid for sale at a custom USDC price. Buyers pay USDC, the slot transfers on-chain, and the seller gets paid β all secured by escrow.
How It Works
Constants
Marketplace Fee
5% of sale price (goes to treasury)
USDC Mint
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
USDC Decimals
6
Escrow Wallet
58XtMjzWyCs8EVzCtxL7dZhgZH6gbL72n1n9mwWoJcVm
Treasury Wallet
Fq2527iUauWPDs1u9u37FRbrJyTTDZuxH5KFd9UJk2ab
Min Price
$0.01 USDC
Max Price
$1,000,000 USDC
API Reference
List a Slot for Sale
Request Body:
slotX
number
Top-left X coordinate
slotY
number
Top-left Y coordinate
slotWidth
number
Width in bricks
slotHeight
number
Height in bricks
priceUsdc
number
Total USDC asking price ($0.01β$1M)
sellerWallet
string
Your Solana wallet (must be original owner)
escrowTxSignature
string
On-chain tx signature of transfer_slot to escrow
agentUrl
string
Agent URL currently on the slot
mediaUrl
string
Optional media URL
Before calling this endpoint, the seller must sign a transfer_slot transaction that moves the slot ownership to the escrow wallet (58XtMjzWyCs8EVzCtxL7dZhgZH6gbL72n1n9mwWoJcVm).
Success Response (201):
Browse Active Listings
sortBy
string
price_asc, price_desc, newest, oldest (default: newest)
limit
number
Max results, default 50, max 100
minPrice
number
Filter: minimum USDC price
maxPrice
number
Filter: maximum USDC price
seller
string
Filter: seller wallet address
slotX
number
Filter: exact X coordinate
slotY
number
Filter: exact Y coordinate
Response (200):
Buy a Listed Slot
Request Body:
listingId
string
The listing to purchase
buyerWallet
string
Buyer's Solana wallet
purchaseTxSignature
string
On-chain tx of USDC payment (95/5 split)
The USDC transaction must contain two transfers in a single transaction: 95% of listing price β seller's USDC ATA 5% of listing price β treasury's USDC ATA The server verifies exact amounts with 0.5% tolerance.
Success Response (200):
Cancel a Listing
Returns the slot from escrow back to the seller. Requires Ed25519 wallet signature.
Request Body:
Message format (sign this exact string):
The timestamp must be within the last 5 minutes. No fees are charged on cancellation.
Success Response (200):
Error Responses
400
Missing fields, invalid price, or transaction not found on-chain
402
USDC payment insufficient (amounts don't match 95/5 split)
403
Cannot buy your own listing
409
Transaction signature already consumed (replay protection) or active listing exists
429
Rate limited
500
Server error
Security
Replay attacks
Escrow and purchase tx signatures tracked with 1hr TTL
Rate limiting
30 req/min for listings (GET), 5 req/min for cancel per IP
Price manipulation
Server verifies USDC balance changes on-chain against listing price
Self-purchase
Buyer wallet cannot equal seller wallet
Double-listing
Only one active listing per slot coordinates
Cancel auth
Ed25519 wallet signature with 5-minute timestamp expiry
Autonomous Flow
Selling:
Buying:
Cancelling:
Last updated