Skip to main content
Sell a claw item back at the listed buyback price. The flow mirrors the web app: initialize a session with unsigned transactions, sign them with your wallet, then submit for co-signing and broadcast.
Scope required: marketplace.take-claw-bid on both steps.

Overview

Sessions expire 5 minutes after creation. If a session expires, call init again.

Step 1 — Initialize

Rate-limited to 1 request per 5 seconds per API key.

Request body

string
required
Mint address (item ID) of the claw item you want to sell back. The item must have an active buyback offer for your linked wallet.

Example request

Response

string
Pass to the finish endpoint. Valid for 5 minutes.
array
Versioned transactions to deserialize, sign with your Solana wallet, and serialize back to byte arrays for the finish call.

Error responses


Step 2 — Finish

Rate-limited to 1 request per second per API key.

Request body

string
required
Session ID from the init response.
array
required
The txV0s from init, deserialized, signed with your wallet, and re-serialized as byte arrays.
string
For EVM items, pass the chain slug. Omit for Solana (default).

Example request

Response

string
"success" when the buyback settled on-chain. "failed" if broadcast failed.

Error responses

Integration flow

Notes

  • The item must be in your inventory with an active claw buyback offer at the current price
  • USDC proceeds are sent to your linked wallet as part of the settlement transaction
  • Calling finish with a session that already succeeded returns { "tx_status": "success" } without re-submitting