Give one approval's transactions a fresh blockhash
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`.
/v1/transactions/rounds/{roundId}/stampCall 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.
Path Parameters
The round, as its prepare answered
^round_[0-9a-hjkmnp-tv-z]{26}$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
curl -X POST "https://example.com/v1/transactions/rounds/string/stamp" \ -H "Content-Type: application/json" \ -d '{ "indexes": [ 0 ] }'{ "roundId": "round_01j3sa8pvcfp79z85hrb9y9xd6", "transactions": [ { "index": 0, "transaction": "string" } ], "lastValidBlockHeight": 0, "expiresInMs": 0, "msPerBlock": 0}Price a selection against current chain state POST
Re-reads every selected account, prices each item per charge in lamports, and says how many transactions and wallet approvals the whole selection takes. It reads the wallet as a scan does, with the same limits: a program or system address, or a wallet a scan refuses for its size, is `wallet_too_large`, and a large wallet the server is too busy to scan right now is `scan_busy` (503, with Retry-After).
Prepare one round: packed, simulated and priced, with no blockhash yet POST
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`.