Prepare one round: packed, simulated and priced, with no blockhash yet
Packs as many items into each transaction as the live limits allow (v1 when the wallet signs it), up to `maxTransactions`, simulates and prices them, and splits them into wallet approvals of at most `maxTransactionsPerApproval`. Stamp each approval just before asking the wallet. Items that did not fit come back in `deferred` for the next round; items still on their way from an earlier approval are skipped as `in_flight`.
/v1/transactions/roundsPacks as many items into each transaction as the live limits allow (v1 when the wallet signs it), up to maxTransactions, simulates and prices them, and splits them into wallet approvals of at most maxTransactionsPerApproval. Stamp each approval just before asking the wallet. Items that did not fit come back in deferred for the next round; items still on their way from an earlier approval are skipped as in_flight.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/transactions/rounds" \ -H "Content-Type: application/json" \ -d '{ "wallet": "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV", "items": [ { "assetId": "string", "action": "close", "expectedAmount": "1000000", "acknowledged": true } ], "donationBps": 0, "burner": "ember-fixture", "referralCode": "7KQ2M9XA", "referralShare": "K7M2Q9XA", "transactionVersions": [ 0 ], "expectedFees": [ { "assetId": "string", "feeQuote": "string" } ], "maxTransactions": 50, "maxTransactionsPerApproval": 1, "maxItemsPerTransaction": 1, "quotedAt": "2026-10-21T12:00:00.000Z", "confirmIrreversible": [ "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV" ], "quotedEpoch": 0 }'{ "roundId": "round_01j3sa8pvcfp79z85hrb9y9xd6", "wallet": "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV", "transactionVersion": 0, "transactions": [ { "index": 0, "version": 0, "itemCount": 0, "assetIds": [ "string" ], "sizeBytes": 0, "accountLocks": 0, "computeUnitLimit": 0, "lines": [ { "assetId": "string", "action": "close", "switchedFrom": "close", "reclaimLamports": "2039280", "appliedOverride": { "configId": "override_01j3sa8pvcfp79z85hrb9y9xd6", "configVersion": 0, "overrideId": "feerate_01j3sa8pvcfp79z85hrb9y9xd6", "overrideVersion": 0, "name": "Acme", "messageToUser": "string", "rate": { "type": null, "bps": null } }, "feeQuote": "string", "charges": [ { "kind": "fee", "code": "token_account_closure", "rate": null, "baseLamports": "2039280", "lamports": "2039280", "recipient": "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV", "recipientKind": "platform" } ], "netLamports": "2039280", "unwrapLamports": "2039280", "depositLamports": "2039280", "strayLamports": "2039280", "missed": [ { "recipientKind": "burner", "lamports": "2039280", "reason": "cannot_receive" } ] } ], "totals": { "reclaimLamports": "2039280", "feeLamports": "2039280", "donationLamports": "2039280", "networkFeeLamports": "2039280", "netLamports": "2039280", "strayLamports": "2039280" } } ], "approvals": [ [ 0 ] ], "skipped": [ { "assetId": "string", "reason": "not_found", "failure": { "program": "system", "code": 0 } } ], "deferred": [ { "assetId": "string", "action": "close", "expectedAmount": "1000000", "acknowledged": true } ], "totals": { "reclaimLamports": "2039280", "feeLamports": "2039280", "donationLamports": "2039280", "networkFeeLamports": "2039280", "netLamports": "2039280", "strayLamports": "2039280" }, "staleAt": "2026-10-21T12:00:00.000Z", "feeScheduleVersion": "string", "beneficiary": { "orgId": "org_01j3sa8pvcfp79z85hrb9y9xd6", "slug": "acme", "name": "Acme", "payoutAddress": "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV", "feeShare": true, "donations": true, "ready": true }, "referrer": { "code": "string", "address": "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV", "ready": true }, "warnings": [ { "code": "donation_not_taken", "message": "string", "lamports": "2039280" } ], "shareToken": "q3J9xV0a5bZ2LmN8cT4wRk"}Give one approval's transactions a fresh blockhash POST
Call it just before the wallet opens: the blockhash's window (150 blocks, about 40 seconds on mainnet) then goes to the person and the sends, not to the build. Stamping the same transactions again, after an expiry, is how to ask again. A round can be stamped for `TX_ROUND_TTL_SECONDS` (300) after it was prepared; then `round_stale`.
Verify, co-sign, send, confirm and record signed transactions POST
Sends every transaction in parallel, within the RPC plan's rate, and answers once each has confirmed or expired. Per-transaction failures are results, not HTTP errors. Idempotent by signature: resubmit the same signed bytes to recover a lost response. Each prepared transaction is co-signed for one live stamp at a time and recorded once. Bodies may be up to 512 KB.