STAMP

DocsLive parameters

What a stamp costs right now.

The relay publishes the stamp price and the issuing window (stamp_getIssuer), and every epoch snapshots its parameters once, at the roll. This page reads both from the relay and the paymaster contract (address-free reads, refreshed every 30 s, the issuer every minute), and prices a mined stamp for each template on this device.

Reading the current epoch

Gas profiles#

Every client uses the same gas limits for a given template and first-op flag, so all ops of a template in an epoch look alike, mined or prepaid, and a mined one costs the same work for everyone. They were measured on a fork of Robinhood Chain mainnet against the real listed tokens, with a 25% margin.

Gas profiles on Robinhood Chain
TemplateverificationGasLimitcallGasLimit
transfer (first op)50,00080,000
transfer30,00080,000
approve (first op)50,00060,000
approve30,00060,000
sendEth (first op)50,00050,000
sendEth30,00050,000

Configured values#

Configured prepaid-stamp parameters (contracts/config/mainnet.json postal, apps/relay defaults)
ParameterValueWhy
Face value1 operationOne sponsored op of an allowed template, gas capped by its profile and the epoch's caps.
Booklet1 to 100 stampsPostOffice.MAX_BOOKLET; one purchase, one commitment, paid once.
Initial price0.0000125 ETH per stampThe relay's quote for one op plus the markup, at deployment.
Price bounds0.000001 ETH – 0.001 ETHOwner bounds; the pricer can never leave them.
Markup2,500 bps (25%)Goes to the DeadLetterOffice, which buys $STAMP and sends it to 0x…dEaD. At most 10,000 bps.
Pricer step± 50% per update, at most once per 10 minutesPostOffice.MAX_PRICE_STEP_BPS and MIN_PRICE_INTERVAL: a pricer key alone cannot jump the price.
Gas quote safety× 1.5 (PRICE_SAFETY_BPS 15,000)The quote is the heaviest stamp op the relay sponsors, at max(reference fee, base fee).
Re-price threshold10% drift (PRICE_DRIFT_BPS 1,000)Fewer price transactions; small moves are absorbed by the safety factor.
Issuance window30 daysEvery stamp bought in one window shares one key and one metadata string, so a stamp hides among all the stamps of its window.
Validity after the window120 daysA stamp bought on the last day of a window is still good for 120 days.
Issuer keys1 pinned: avion-1Pinned in deployments/<chainId>.json (stamps.issuers); clients refuse any other key or window.
Blind-signature suiteRSAPBSSA-SHA384-PSS-Deterministic, RSA 2048RFC 9474 with public metadata; deterministic, so issuance is idempotent.
Configured mainnet parameters: epoch and free lane (contracts/config/mainnet.json)
ParameterMainnet (4663)Why
Mode (flags)co-signed + delegate check + stamps (7)Only the relay's bundler can land ops; the sender must use Simple7702Account v0.9; prepaid stamps pay for ops in every epoch.
epochLength / validFor900 s / 1,200 s15-minute epochs; ops stay valid 5 minutes past the roll.
Relay STALE_GRACE120 sAn old epoch's ops are accepted for 2 minutes after a roll.
workPerGwei floor / ceiling5,000 / 30,000 (6×)The ceiling keeps a typical first op near 2 minutes at p95 on a mid Android phone.
minWork2^24 (16,777,216 hashes)About 1.4 s on a mid laptop.
targetUtilBps6,000The controller holds between 30% and 60% of the free budget.
minFeePerGas / fee cap0.01 gwei / 4 × base fee in [0.1 gwei, 2 gwei]Follows the base fee at each roll.
maxPriorityFeePerGas0.001 gweiMatches the bundler's priority-fee ceiling; Arbitrum ignores tips.
Gas caps VGL / CGL / PVG250,000 / 300,000 / 300,000Bound what any op can cost; PVG carries the L1 data part (about 46–48k gas per op).
Paymaster gas (exact)75,000 / 25,000 mined · 60,000 stamp postOpAt least 2 × the measured validation minimum; postOp within [20k, 40k] mined, [55k, 70k] prepaid.
maxOpCost0.00003 ETHPer-op prefund cap, for both postages.
epochBudget (free lane)0.0003 ETHWhat mined stamps may spend per epoch. Prepaid stamps never touch it.
MAX_DAILY_SPEND (immutable)0.03 ETHHard ceiling on the free lane's top-ups; the config releases at most 96 budgets a day.
Treasury at deployment0.0115 ETHRefilled by the $STAMP creator fees (CreatorFeeSink.collect).
Stake / unstake delay0.002 ETH / 86,400 sStaked paymasters may read their own storage in validation (ERC-7562).
K (sub-solutions)8p95 solve time ≈ 1.64 × the mean.
PVG buffer (SDK)× 1.2Absorbs L1 price moves between the quote and inclusion.