Skip to main content
POST
Scope: nft:orders A quote fixes the amount, the payer and the payout destination, and expires 10 minutes after it is issued, or when the 5-minute fresh window ends if the quote is at the fresh rate (whichever is sooner). Every call issues a new quote; an unused quote just expires. This endpoint takes no Idempotency-Key. What the holder does with it: Sell-back.
string
required
The token’s decimal token_id.
string
default:"sellback"
sellback. Shipments start at Create a shipment.
string
required
The wallet that holds the token now. Checked on chain.
string
evm:8453 (Base) or solana:mainnet. Default: the token’s family, Base for an EVM program and Solana for a Solana program. Solana payouts answer PAYOUT_CHAIN_NOT_ENABLED until they are switched on.
string
Where the USDC goes. Defaults to holder when the payout chain is the same family as your mint chain. Required when the payout chain isn’t your mint chain’s family, so today a Solana program sends payout_chain: "evm:8453" with a Base payout_address.

Response

201. Both families have:
string
Follow it with Get a quote.
string
The token’s chain.
number
What the payout sends, exactly.
string
object
chain and address.
string
evm or solana.
On an EVM program:
string
The contract to call burnWithQuote on.
object
The Quote tuple: tokenId, kind (1 = sell-back), quoteId, holder, payoutHash, amount (USDC with 6 decimals) and expiresAt (unix seconds). tokenId, amount and expiresAt are decimal strings: convert them to bigints. Pass it exactly as returned.
string
On a Solana program:
string
string
string
string
A base64 unsigned transaction that moves the asset to our vault, with the quote id as a memo. The holder is its fee payer and only signer.
integer
The transaction must land before this (about a minute) and before expires_at.

Errors