Build on
the same API.
The Burn & Claim app is a client of a public API, and so is anything you build. Scan a wallet, price a cleanup, and send it, with the same checks the app gets.
From scan to submit
GET /v1/wallets/{address}/assets
Scan a wallet
Every asset the wallet holds, what can be done with each, and what each action returns and costs.
POST /v1/transactions/quote
Quote a selection
Prices what the person picked against the chain as it is now: the SOL back, the fees, and how many approvals it takes.
POST /v1/transactions/rounds
Prepare a round
Packs the selection into as few transactions as the network allows, simulates them, and splits them into wallet approvals.
POST /v1/transactions/rounds/{roundId}/stamp
Stamp an approval
Gives one approval’s transactions a fresh blockhash just before the wallet opens, and says how long they stay valid.
POST /v1/transactions/submit
Submit what the wallet signed
Checks each transaction is exactly the one it built, co-signs it, sends it, waits for it to confirm and records it.
GET /v1/transactions/{signature}
Look it up
Any recorded transaction, with every fee it charged.
Why it co-signs
Every transaction the API builds names its co-signer as a signer, so it lands only through submit. Submit co-signs a transaction only when it is exactly the one the API built, fees included, so nothing reaches the chain that it didn't check.
Errors you can read
Every error is a problem document with a stable code, and a request that fails validation lists each field that failed. The contract, OpenAPI 3.1, is generated from the same schemas that check every request.
Building something?
Tell the team what you're making.