Skip to main content
Fiat rules are a beta feature and are not open to everyone. They are off for every environment by default and cannot be turned on from the dashboard or the API. To use them, contact us and we enable them for your environment. Your environment also needs declarative rules enabled. Until both are on, saving a fiat rule is refused. The scope and behavior on this page can change before general availability.
A fiat rule refuses a transaction whose total value, in US dollars, is more than an amount you set. In the beta, the only fiat currency is the US dollar. Unlike a per-transaction limit in token units, one rule covers every asset the transaction moves, so you do not need one rule per token.
A transaction that cannot be priced is rejected. If a fiat rule applies to a transaction and any asset it sends cannot be priced in US dollars, the whole transaction is refused with usd_value_unpriced, even when the other assets are priced. A missing price is never counted as $0 and the limit is never skipped. See When the value cannot be calculated.

What the beta covers

Write a fiat rule

Deny any transaction on Ethereum mainnet worth more than $100. The comparison is `gt`, so a transaction worth exactly $100 still goes through.
The same rule for Solana uses "SVM" and chain id 101. For Bitcoin it uses "BTC" and chain id 1. Rules for the value:
  • value is plain US dollars as a JSON number, such as 100 or 12.5. It is not a string and not in cents.
  • At most 2 decimal places, and never negative.
  • totalUsdValue is read at the top of the rule’s condition. Do not put it inside outgoingAssets or spendWindows.
Rules for the scope. A fiat rule is refused when it is saved unless it names both:
  • its chain family, with operation.chain and eq, and
  • its chain ids, with chain.id and in or eq, all of them mainnets that can be priced.
Both have to bind the whole rule. A family or chain id that appears only inside one branch of an any, or under not, does not count.

How the value is calculated

When the transaction is signed, it is simulated, and every asset it sends out of the wallet is priced in US dollars by the simulation provider. The total is the sum of those prices, added exactly and then rounded up to the next cent, so a transaction just over your limit cannot round down below it.
  • Every outgoing asset counts: the chain’s coin and every token.
  • Network fees are neither added nor removed. The total is what the simulation reports as leaving the wallet, the same amount the per-token limits read.
  • The price is taken at signing time, not when the rule was saved.

When the value cannot be calculated

A fiat rule never treats a missing price as zero. If a rule applies to a transaction and the value cannot be worked out, the transaction is rejected. One asset without a price is enough: the value of the whole transaction is then unknown, so it is rejected even if every other asset it sends is priced. A refused transaction is never signed, so nothing reaches the chain. Retrying an unpriced transaction gives the same result until the asset is priced, so remove the asset from the transaction or change the rule.

Signatures a fiat rule does not check

A fiat rule only runs on operations that can be simulated. These are not simulated, so a fiat rule does not check them and they are signed as usual if no other rule refuses them:
  • EIP-712 typed data, except EVM gasless intents. This includes permits and off-chain orders, even when they authorize moving value.
  • Plain text and EVM personal messages.
  • Messages on Stellar, Aleo, Midnight, and TRON, and every Tempo and TON signature.

Error codes

When a rule is saved: When a transaction is signed, the refusal’s reasonCode (also sent in policy violation webhooks) is one of: If fiat rules are turned off for an environment that already has fiat rules saved, every transaction those rules apply to is refused with usd_limits_disabled until the rules are removed. A fiat rule is never silently skipped.
Last modified on November 30, 2026