Skip to main content
A rule’s condition tests facts: values Para reads from the signing request, from the wallet’s record, or from the spend it tracks. This page lists every fact a policy can read for each wallet type, with its value type, operators, actions and value format. Policy JSON schema covers the document around the conditions.
The CLI prints the same catalog for your API key: run para keys permissions catalog --json.
Validate conditions against a beta API key, shown as Development in the Developer Portal. Policies reach production only through a production review: select Request production review on your production key.

Condition kinds

Leaf conditions read one fact. Group conditions combine other conditions, so one rule can express AND, OR and NOT logic.
A leaf can also be indeterminate, when the fact is missing from the request, or not applicable, when a metered fact does not apply. Condition outcomes shows how groups combine them.

Operators

Each fact supports the operators its value type allows. The fact tables list them per fact.
ne does not match a missing fact. A rule that reads a fact the request does not provide is indeterminate, whatever the operator.

Values and encodings

Each value must have the fact’s type. A wrong type fails validation with value_type_mismatch. Amounts are base units: wei and token units on EVM (1 USDC is "1000000" with 6 decimals), lamports on Solana, the chain’s base denom on Cosmos (such as uatom), stroops on Stellar, and MIST on Sui. Token amounts use the token’s smallest unit as well: the mint’s decimals on Solana, the denom’s integer amount on Cosmos, and 7 decimals for every Stellar asset, so 1 USDC on Stellar is "10000000".

Identifiers by wallet type

Write addresses and assets in the canonical form of the policy’s wallet type, exactly as shown.
Validation checks request.sourceAccount on every wallet type. It also checks request.to, request.target and request.token.asset on Solana, Cosmos and Stellar, and request.to and request.target on Sui. It rejects other forms with chain_identity_invalid. It does not check identity formats for request.value.asset on any wallet type or for EVM request.to, request.target, request.token.asset, request.safe.to, request.safe.value.asset and request.safe.token.asset. Safe amount facts still require digit strings and reject other values with value_type_mismatch.A malformed identity string can validate and still match a ne condition against a present valid value.
request.sourceAccount takes the request.to form of each wallet type. For a Stellar network other than testnet or mainnet, <hash> is the SHA-256 hash of the network passphrase in lowercase hex. On EVM, eq, ne and in on request.token.asset and request.safe.token.asset compare the contract-address part of eip155:<chainId>:token:<contract> without regard to case. The prefix and chain ID must still match exactly.

Limits

Condition groups and leaves share these depth and count limits; metered facts also constrain window declarations.

Reading the fact tables

The tables below list every fact a policy can read for each wallet type, outside Metered facts. The Actions column lists the rule actions that can read the fact. Every action in a rule’s actions must appear there, or validation fails with fact_action_unsupported. all means every action of the wallet type, including raw_signature, and - means no rule can read the fact. The Present column says whether every request of those actions carries the fact. “May be missing” means Para provides the fact only when it can read it from the request, such as a recipient decoded from calldata. A missing fact makes the condition indeterminate. When a standard rule is indeterminate only because of a decode gap, Para skips it, including a Guardrail deny rule, and other rules and Para’s baseline decide the request. Invalid or stale facts, fact-source errors, missing gas fields and other non-decoding failures retain their existing handling; see Facts Para cannot read. "actions": "all" covers every action of the wallet type, raw_signature included, but the validation fact check leaves raw_signature out. An "all" rule can therefore read only request.classification, the para.wallet.* facts and, on Solana, Cosmos, Stellar and Sui, request.actionFamilies. A raw signature has no request.actionFamilies, so a condition on it is indeterminate on a raw signature unless another condition in its group settles it, and Para then denies the raw signature unless another matching rule has the same or a stronger effect. See Facts Para cannot read. A rule that names raw_signature can read only the para.wallet.* facts.

EVM

Choose facts by the signing action: EVM transaction and message actions expose different fields. What each fact holds on EVM: When you sign EIP-712 typed data through the viem v2 or ethers v6 integration or the wagmi connector, the Para SDK sends the typed data with its hash. Para checks that the two match and evaluates the request as sign_typed_data, the same as the REST API’s sign-typed-data route, so request.typedData.primaryType, request.approvalLike and the chain ID from the typed data’s domain apply. Para evaluates these SDK requests as sign_message, with no chain ID: EIP-7702 authorizations, typed data signed through the viem v1 or ethers v5 integration, and a typed data hash that your code signs with signMessage. The sign_authorization action and its facts apply only to the REST API’s sign-authorization route, which the REST SDK calls. Para decodes ERC-20 and NFT calls itself. It uses curated integration ABIs for supported calls to its listed Aave pools and Morpho routers and vaults on the matching network. Other contract calls use the contract’s verified ABI from a block explorer. Calls it cannot decode have the classification undecodable_contract_call and no request.method, request.args[n] or request.to. A native send that carries any calldata is call_contract, not transfer_native. request.value.baseUnits is present on every EVM transaction, "0" when it attaches no value, so a native amount cap can name both actions. For numeric contract argument comparisons, use request.uintArgs[n]; request.args[n] keeps its string operators. See Contract argument limits for complete Aave and Morpho deposit policies, existing transfer controls, withdrawal semantics and missing-fact behavior.
request.raw.opaque is in the catalog, but no rule can read it. Para sets it only on raw signatures, and raw_signature rules read only para.wallet.* facts, so validation rejects it with fact_action_unsupported on every action.
Spending limits use the metered facts.

Safe payments

The request.safe.* facts describe the payment inside a Safe transaction. Para reads them from three kinds of request:
  • An execTransaction call, or a module’s execTransactionFromModule or execTransactionFromModuleReturnData call, with the action execute_safe_transaction.
  • A SafeTx EIP-712 message signed as typed data, such as one sent to REST sign-typed-data, with the action sign_typed_data. Its domain must hold only chainId and verifyingContract, its message must hold exactly the SafeTx fields, and its types must declare only SafeTx, optionally with an EIP712Domain of those two fields; otherwise Para treats it as opaque. A SafeTx hash that the Para SDKs sign as a message arrives as sign_message and has no Safe facts.
  • A SafeOp EIP-712 message for a Safe 4337 user operation, with the action sign_typed_data.
Para reads a SafeOp only when all of these hold; otherwise it is opaque:
  • Its domain holds only chainId and verifyingContract. verifyingContract is Safe4337Module v0.2.0 and the message’s entryPoint is EntryPoint v0.6, or the module is v0.3.0 and the EntryPoint is v0.7.
  • Its message holds exactly that module version’s SafeOp fields, and its types declare only SafeOp, optionally with an EIP712Domain of the two domain fields.
  • Its callData is an executeUserOp or executeUserOpWithErrorString call in its canonical ABI encoding.
  • Its initCode is empty, so it does not deploy the Safe.
  • A paymaster pays the gas: paymasterAndData starts with an address other than the zero address.
Safe facts and Safe spend limits apply only to these requests. A SafeTx hash that an owner wallet signs as a message through the SDKs is a sign_message, and an owner wallet’s direct call to the Safe, such as approveHash, is a call_contract, so no rule on Safe facts sees either. Once the Safe has enough approvals, anyone can execute the payment outside Para. To block direct calls, see Direct calls to the Safe.
Para reads a Safe transaction as a payment only when all of these hold. The same rules apply to the call inside a SafeOp.
  • operation is 0, a Call. A DelegateCall is never a payment.
  • gasPrice is 0, so the Safe pays no gas refund.
  • The inner to is not the Safe itself.
  • The inner call is a plain native transfer, or one ERC-20 transfer or transferFrom that sends no native value.
Para also reads each call of a batch that the Safe sends through the official MultiSend or MultiSendCallOnly contract of Safe v1.3.0, v1.4.1 or v1.5.0. The batch can hold up to 64 calls. Para applies the rules above to each call, judges each call on its own facts, and combines the results: a deny on any call denies the request, then an approval applies, then an allow. A DelegateCall entry, a call without a verified ABI, and a call to the Safe itself that is not a settings change are unread, so Para’s baseline decides them, and a user’s consent to a Request cannot allow them. On v1.5.0, a batch call to the zero address is a call to the Safe itself. A batch whose outer call sends value, or that has no calls or more than 64, is unread as a whole. Para denies a malformed batch. Para identifies a Safe transaction by its function selector and cannot prove that the target is a Safe. In each rule that allows on a Safe fact, also name the Safe with request.target or request.sourceAccount. A readable payment provides request.safe.to and the two facts of its payment family. The facts of the other family are not applicable. A condition on a fact of the other family is not applicable and never matches. A rule that reads only native payment facts therefore does not apply to an ERC-20 payment, or the reverse, and the request goes on to your other rules or the default.
In a rule that reads both families, Para treats the absent family as missing instead. Its conditions on the absent family are indeterminate, so the rule is indeterminate unless another condition settles the group, and an indeterminate rule can deny the payment with missing-fact. For example, a deny rule that matches any native amount above 1 ETH or token amount above 1,000 USDC denies a payment of 0.1 ETH. Write a separate rule for each family.
A zero-amount payment is still readable. Its amount conditions are evaluated as usual, so "op": "gt", "value": "0" does not match it, and the other family stays not applicable. On every other Safe transaction, request.safe.innerDecoded is false. Para reads some of these as Safe contract calls. The rest are opaque: their payment amount, asset and recipient facts are missing. Opaque transactions include:
  • DelegateCalls, other than a MultiSend batch Para reads, and DelegateCall entries in a batch.
  • SafeTx or SafeOp typed data in another shape, such as a domain with extra fields.
  • Transactions with a nonzero gasPrice.
  • Calls to the Safe itself. Para reads owner, threshold, module, guard and fallback handler changes as settings_change calls; see Safe contract calls.
  • Contract calls that send native value, including an ERC-20 transfer that also sends native value.
  • Calls to a contract whose ABI Para cannot get, and calldata Para cannot decode.
An owner wallet’s direct call to the Safe is not a Safe transaction and has no Safe facts. See Direct calls to the Safe. A rule that needs the missing payment details is skipped on an opaque transaction when that decode gap is its only failure. On a Safe contract call, the payment facts do not apply, so a condition on them does not match. To deny every Safe transaction that is not a readable payment, add a rule on request.safe.innerDecoded with eq and false. This boolean is available even when the payment is unreadable, so the rule does not depend on a missing amount or recipient. The rule also denies contract calls that Para reads. Three facts are the same for a readable payment and an opaque transaction: request.classification, request.method and request.typedData.primaryType. Use request.safe.innerDecoded to distinguish readability. On execute_safe_transaction, the decoded execTransaction arguments also separate DelegateCalls and gas refunds: request.args[3] is the operation and request.args[6] is the gasPrice. Both are "0" in every readable payment, except that request.args[3] is "1" for a MultiSend batch.
On typed data other than a SafeTx, SafeOp or SafeMessage, such as an ERC-2612 Permit, request.safe.innerDecoded is not applicable. A rule denying it when it is false does not block that other typed data. Govern other signatures with their own rules. Para never reads a SafeMessage, so the same rule denies every SafeMessage.
To scope a Safe recipient rule to SafeTx typed data, add a request.typedData.primaryType test to an all group:
request.safe.to names the inner recipient whatever native value the outer call carries. On execute_safe_transaction, constrain request.value.baseUnits as well. sign_typed_data has no request.value.* facts, so a rule that reads them cannot name both actions. This Guardrail covers app-owned wallets that execute Safe transactions on Base. The first rule denies every Safe transaction that is not a readable payment, including contract calls. The second denies readable payments to anyone except two recipients. It does not cover direct calls to the Safe; see Direct calls to the Safe. The third rule denies a USDC payment that would take the Safe past 50,000 USDC in the current day. It counts only readable payments, including each readable payment in a MultiSend batch, so on its own it would not stop a DelegateCall, a gas refund, a contract call or a batch with an unread call; the readability rule denies those. A payment that passes all three rules falls to the Guardrail default, and the wallet signs it.
safe-payouts.json

Safe contract calls

Para reads a plain contract call inside a Safe execTransaction call, SafeTx typed data or a readable SafeOp, both when Para signs the request and when it collects the owner signatures. It reads the call inside a SafeOp by the same rules as a SafeTx call. A plain call has operation 0, a gasPrice of 0 and a value of 0, carries calldata, and does not call the Safe itself. Para decodes it the same way as an outer contract call, with a curated integration ABI or the contract’s verified ABI. When it decodes the call, request.safe.callKind is contract_call and the request carries request.safe.abi.selector, request.safe.contract.address, request.safe.args[n] and request.safe.uintArgs[n]. request.safe.innerDecoded stays false, and the Safe payment facts do not apply. A condition on unread also matches settings_change, so a rule that denies unread calls also denies settings changes. To leave settings changes out of such a rule, add a request.safe.callKind ne settings_change condition in an all group. A user’s consent to a Request never allows a settings change. On execute_safe_transaction, request.abi.selector, request.args[n] and request.uintArgs[n] still describe the outer execTransaction call. Validation applies three rules to the Safe call facts: This rule denies a Safe’s supply(address,uint256,address,uint16) call to one pool when it supplies more than 100 USDC on Base:
A rule on request.safe.abi.selector, request.safe.contract.address, request.safe.args[n] or request.safe.uintArgs[n] is not skipped when the ABI lookup for the inner call timed out, was rate limited or failed at the block explorer, or when the calldata does not match its canonical ABI encoding. On a call Para decodes, a rule on a missing argument is not skipped either. The rule cannot be judged and can deny the request.
For a proxy contract whose ABI comes from a block explorer, the explorer returns the proxy’s ABI instead of the implementation’s. Para then cannot decode the call, and request.safe.callKind is unread.
Two Guardrail patterns cover most Safe policies. In both patterns, each rule names execute_safe_transaction and sign_typed_data, and neither pattern blocks typed data such as a Permit. Both deny every SafeMessage and every settings change:
  • To allow only readable Safe payments, deny when request.safe.innerDecoded eq false. This also denies every Safe contract call.
  • To also allow the contract calls you list, deny when request.safe.callKind eq unread, and deny a contract_call whose contract or selector is not on your list:

Direct calls to the Safe

An owner wallet that calls the Safe directly, such as approveHash(safeTxHash) to approve a payment on chain, sends a call_contract with no Safe facts, so Safe rules and Safe spend limits never see it. A rule that reads Safe facts cannot name call_contract; validation fails with fact_action_unsupported. To block these calls, deny every call_contract whose request.target is the Safe:
Calls to other contracts and token transfers still sign, and execTransaction stays under your Safe rules. A module’s execTransactionFromModule call to the Safe is an execute_safe_transaction, not a call_contract, so this rule does not cover it. Use require_approval instead of deny to hold these calls for review. request.target is always present and compared without case, so the rule works whether or not Para decodes the call. A method-only rule cannot provide that boundary: it can be skipped when the method is missing because of a decode gap.

Solana

Solana’s catalog separates native and token transfer facts from program targets. On Solana, Cosmos, Stellar and Sui, request.actionFamilies lists the kinds of action a transaction contains. A transaction with exactly one action carries that action’s recipient, target and amount facts when Para can read them. Cosmos retains request.target when MsgExecuteContract is the transaction’s only message, even if attached funds add transfer actions. Solana compute budget instructions do not count as an action. Creating the recipient’s associated token account does not count either when the transaction’s only other instruction is a TransferChecked that follows it and sends that token to the new account. Every other instruction counts, such as a Memo or wrapping SOL. Para judges a transaction with 2 to 64 calls one call at a time. A call is a Solana instruction, a Cosmos message, a Stellar operation or a Sui command. Each call carries its own request.target, request.function, request.to and request.sourceAccount. Its amount facts hold the transaction’s total of the asset the call moves, so an amount cap judges the whole transaction. A deny on any call denies the transaction, then a review or an approval applies, then an allow. When calls need different reviews, the review of the first of those calls applies. A call that Para reads only by its target, such as a program call, or cannot read at all, is a decode gap. Para skips a rule that needs a fact the call does not have, and the Para baseline decides the call. A transaction with more than 64 calls is judged as one request. Otherwise, a transaction with several actions carries a total only when every action is a transfer, Para reads every amount, and every transfer moves the same asset. The total is in request.value.* for the native asset or request.token.* for a token. request.to is present only when every transfer has the same recipient, and request.target only when every transfer has the same target. For example, a payout and a fee in the same token to different recipients carry their total but no request.to. The exception is a Cosmos transaction whose only message is a MsgExecuteContract: it carries the total of its funds when every coin is the same asset. See Cosmos. request.total.value.baseUnits and request.total.token.value.baseUnits hold the total native or token amount of every readable transfer in the transaction. A transfer whose amount Para cannot read is not counted, and the token total is present only when the transfers move exactly one token. In a transaction with several calls, a call that Para cannot read in full has no total, so Para skips a rule on the total for that call. A user’s consent to a Request never allows a Solana, Cosmos, Stellar or Sui call that Para reads only by its target or cannot read, even when it is the transaction’s only call. The user reviews the transaction instead. request.sourceAccount is the one account that every action of the transaction spends from. It is missing when the actions spend from different accounts, and a rule that reads it then cannot be judged. In a transaction with 2 to 64 calls, each call carries its own source account instead.
  • request.to is the recipient of a SOL transfer. For a token transfer it is the destination token account. A wallet address in your condition also matches that wallet’s associated token account for the transfer’s mint, for SPL Token and Token-2022. Another token account the wallet owns does not match.
  • request.target is the program the instruction calls.
  • Solana has no request.function.
  • request.sourceAccount is the account a SOL transfer spends from, or the owner or authority of a token transfer. A program call has none, so a transaction that includes one as an action has no request.sourceAccount.
  • request.token.asset names the mint, as solana:token:<mint>. It does not identify the cluster, so select the network in the policy’s chainId.
  • Para reads a token transfer’s recipient, amount and mint only from a TransferChecked instruction. A plain Transfer or TransferCheckedWithFee has none of these facts, and token spending limits do not count it.
solana-usdc-payouts.json

Cosmos

Cosmos facts distinguish bank sends from contract calls. The notes below describe which requests provide recipient, target and amount fields.
  • request.to is the recipient of a bank send. An IBC MsgTransfer and the funds of a MsgExecuteContract have no request.to.
  • request.target is the contract a single MsgExecuteContract calls. Transfers have none.
  • request.sourceAccount is the signer of each message.
  • request.function is the message’s type URL.
  • A bank send is a native transfer only in the chain’s native denom, on cosmoshub-4, noble-1, osmosis-1, celestia, dydx-mainnet-1 and injective-1. Any other denom, or any bank send on another chain, is a token transfer.
  • Para also reads the amount of an IBC MsgTransfer and of each coin in the funds of a MsgExecuteContract. Each is a transfer_native or transfer_tokens action by the same denom rule as a bank send, and its amount counts toward spending limits even when the transaction has other messages.
  • Para reads an IBC transfer’s amount only when the message has no field other than the ICS-20 fields source_port, source_channel, token, sender, receiver, timeout_height, timeout_timestamp and memo. A transfer with another field, such as tokens from ibc-go v9, has no amount.
  • When a transaction’s only message is an IBC transfer, it carries the transfer’s amount. Its missing request.to is a decode gap, so Para skips a request.to rule, and other rules and the Para baseline decide the transaction.
  • When a transaction’s only message is a MsgExecuteContract and every coin in its funds is the same asset, request.value.* or request.token.* holds the total of the funds, and a call_contract rule can read it. A contract call without funds has no amount, and Para skips an amount rule on it.
  • A rule that reads request.to blocks a funded contract call. So does an amount rule when the funds hold more than one asset, or none of the rule’s asset, such as a native amount rule on a call funded only with a token.
  • As on Solana, Para judges each message of a transaction with 2 to 64 messages on its own facts.

Stellar

Stellar facts cover payments and contract calls; the notes below explain operation-specific availability.
  • request.to is the destination account of a payment. Para reports a muxed M... destination as its base G... account, so a rule on a G... account also covers that account’s muxed addresses. Two muxed addresses of one account still count as different recipients, so a transaction that pays both, or pays the account and one of its muxed addresses, has no request.to.
  • request.target is the contract a Soroban invokeContract call targets.
  • request.sourceAccount is each operation’s source account, or the transaction’s source when an operation sets none. For a fee bump, it is the inner transaction’s source. Para reports a muxed account as its base G... account.
  • request.token.asset and request.value.asset include the network, so a condition written for stellar:testnet does not match on mainnet.
  • As on Solana, Para judges each operation of a transaction with 2 to 64 operations on its own facts.
  • request.function is the Soroban function of a contract invocation, or else the operation type.
  • createAccount is a transfer_native. A path payment and a createClaimableBalance carry the action of the asset they send: transfer_native for XLM and transfer_tokens for another asset.
  • Para reads the amount a path payment or a claimable balance sends: sendAmount for pathPaymentStrictSend, sendMax for a pathPaymentStrictReceive that converts assets, destAmount for one that does not convert, and amount for a claimable balance. The amount is in request.value.* or request.token.*, and it counts toward spending limits and transfer totals.
  • A path payment converts assets unless sendAsset, every asset in path and destAsset are the same asset. A path payment that does not convert has request.to, the same as a payment. A path payment that converts and a claimable balance have no request.to. When one of them is the transaction’s only operation, Para skips a rule that cannot be judged only because request.to is missing, and other rules and the Para baseline decide the transaction.
  • The exception is a path payment whose sendAsset, path and destAsset include both XLM and another asset, such as XLM to USDC or USDC to EURC through XLM. Para does not skip a request.to rule for it, so that rule blocks the transaction.
  • accountMerge is a transfer_native with no amount, so spending limits do not count it.

Co-signed Stellar transactions

Para evaluates a Stellar transaction that your wallet signs for another account, such as a multisig account where the wallet is one of the signers. The other account can be the transaction source, an operation source, or the source of a fee bump’s inner transaction. Your Guardrails, Requests, approval requirements and the Para baseline apply as they do to a transaction that spends from the wallet’s own account. Para does not check on chain that the wallet is a signer of that account. request.sourceAccount names the account the transaction spends from. The source account limits cap that account’s spend across every wallet of yours that signs for it.
On Solana, Cosmos and Sui, Para denies a transaction with unsupported-request when the signing wallet is not one of its required signers.

Sui

Sui exposes native transfer and Move call facts. The notes below describe transfer families and the limits of token authoring.
  • request.to is the recipient of a SUI transfer.
  • request.target is the package a Move call targets.
  • request.function is the module and function of a Move call, as module::function. Other commands have none.
  • request.sourceAccount is the transaction’s sender. It is missing when a sponsor pays the gas and a command uses the gas coin.
  • Sui has no transfer_tokens action, authorable token facts or token spending limits. Only a rule that names "all" covers Sui token transfers. With trusted coin evidence, a readable SplitCoins followed by TransferObjects can report token_transfer in request.actionFamilies; unrecognized transfers report other.
  • As on Solana, Para judges each command of a transaction with 2 to 64 commands on its own facts.

Classification values

request.classification accepts these 22 values on every wallet type. Values that a wallet type never produces never match, and a value outside this list fails validation with value_not_allowed_for_fact. Only a rule with "actions": "all" can read the classification of a raw signature, evm.raw_signature or raw.opaque_message. A rule that names raw_signature reads only para.wallet.* facts.

Metered facts

Metered facts read the spend Para tracks for a wallet, a Safe or a Stellar source account over a time window. Use them only in aggregate conditions; a compare condition on a metered fact fails with metered_fact_window_required.
The Actions column covers all wallet types. On EVM, wallet.spend.native is available to all seven listed actions, because any EVM transaction can send native value. On Solana, Cosmos, Stellar and Sui it is available only to transfer_native. wallet.spend.token does not apply to Sui, which has no token transfer action. safe.spend.native and safe.spend.erc20 count only Safe payments; see Safe spend. sourceAccount.spend.native and sourceAccount.spend.token count the spend of a Stellar transaction’s source account; see Source account spend.
wallet.yield.authorizedDeposit counts the USDC that a wallet deposits into a supported Aave or Morpho yield market each UTC day. Token approvals and withdrawals do not count. A rule that reads it must use actions: "all", a "24h" window, a positive value and an asset, and no parameter or approvalRequirement. The policy selector must set walletType: "EVM" and the market’s chainId. In a Guardrail, use it in a deny rule with gt. In a Request, use it in an allow rule with lte, in an all group of two conditions: the aggregate first, then a request.gas.maxExecutionCost lte condition with a positive value. Any other shape fails with yield_deposit_budget_invalid.

Windows

window is a positive integer followed by a unit: ms, m, h or d, such as "30m", "24h" or "7d". There is no week or month unit. The Developer Portal form writes windows in hours, "24h" for a day and "168h" for a week, and the examples on these pages follow it. Windows are fixed buckets aligned to 1970-01-01 00:00 UTC, not rolling periods. A 24h window resets at 00:00 UTC every day, and a 168h window resets every Thursday at 00:00 UTC. A policy can use only one window length for each metered fact. "24h" and "1d" count as the same length, but "24h" and "168h" on the same fact fail with metered_fact_window_conflict. To enforce both a daily and a weekly limit, put them in separate policies.

What the limit compares

Para compares the spend already recorded in the current window, plus spend reserved by requests still in progress, plus the current request’s amount, against value. A rule with "op": "lte", "value": "1000000" therefore matches while the total after this request stays at or below 1,000,000.

What counts

Metering counts the transfer forms below, which can be narrower than a rule’s action coverage.
On EVM, a token spending limit therefore does not cap transferFrom calls or approvals. A per-transaction rule on request.token.value.baseUnits covers transferFrom, and a rule that names approve_tokens can limit approvals.A spending limit alone does not deny the Solana and Stellar transfers it does not count. A rule that reads a missing amount is not a reliable replacement: it can be skipped when its only failure is a decode gap. On a transaction with 2 to 64 calls, Para judges each call on its own facts; see Solana. When Para judges a transaction with several actions as one request, such as one with more than 64 calls, a missing fact is not a decode gap, so the rule cannot be judged. The exception is a request where every action is a transfer and Para cannot read at least one amount: a missing amount is a decode gap there, but a missing request.to or request.target is not. An applicable aggregate whose amount cannot be resolved is indeterminate. Review the other applicable rules and the Para baseline for unsupported forms.
On execute_safe_transaction, wallet.spend.native counts only the native value the signing wallet attaches to the outer call. The payment the Safe makes, in an execTransaction call, a SafeTx or a SafeOp, counts toward Safe spend instead. Gas and network fees never count, except the gas prefund that a SafeOp without a paymaster takes from the Safe, which counts toward safe.spend.native. On Solana and Sui, metering needs a network proven from the signed transaction; if configured proof endpoints prove no network, Para denies the request with network-unverifiable. On Cosmos, native spend counts only on the chains listed in Cosmos. When a request has nothing to count for a condition, such as a zero-value transaction or a transfer of another token, the condition is not applicable and the rule does not match through it. Readable Solana native transfers and TransferChecked token transfers are summed by asset for metering. When the transaction holds only readable transfers of one asset, that sum is also its amount fact. Metering uses the sum even when the transaction has no amount fact. A meter whose applicable amount cannot be resolved is indeterminate.

Budgets

Each budget is kept per wallet, network, asset and window length.
  • A token limit with asset counts only that token. An EVM token limit without asset keeps a separate budget for each token.
  • wallet.spend.erc20 and wallet.spend.token share the same budget on EVM.
  • On EVM, a token limit in a rule that names sign_typed_data also counts ERC-2612 permits, at the permit’s value, when the permit’s owner is the signing wallet. Permits and transfers of the same token share one budget. A limit in a rule that names only transfer_tokens does not count permits. Para reads a permit only when primaryType is Permit, the type lists exactly owner and spender as address, then value, nonce and deadline as uint256, and the domain sets chainId and the token as verifyingContract. DAI-style permits and Permit2 carry no token facts and do not count.
  • Budgets are shared across your policies and rules. Two rules that meter the same wallet, network, asset and window read the same spend.
  • A selector with several networks does not pool them. A daily limit on Ethereum and Base allows that amount on each network.
  • Safe spend budgets are kept per Safe instead of per wallet. See Safe spend.
  • Source account spend budgets are kept per source account instead of per wallet. See Source account spend.

When spend is recorded

Para reserves the request’s amount before signing and records the spend when the signing operation succeeds. Para can release the reservation when it knows signing did not proceed. If a dispatched call fails while the signer outcome is uncertain, the amount can remain reserved. A request adds to a budget only when a rule that meters that budget covers it: the rule that decided the request, a matching allow rule, or a deny or require_approval rule whose other conditions match the request. A payment that falls outside a limit rule’s other conditions, such as a transfer to a recipient the rule does not name, does not count toward that limit. Spend is reserved only for requests Para allows. A request approved through require_approval can take a budget past its limit. So can a request that went past an allow rule’s limit and was then approved, for example by the user in the review pop-up. It still counts toward that limit when the rule’s other conditions match it. If another request uses up the budget between the decision and the reservation, Para denies the request. The denial reason is windowed-spend-limit-exceeded.

Safe spend

safe.spend.native and safe.spend.erc20 count readable Safe payments from execTransaction calls, SafeTx typed data and SafeOp typed data. Wallet limits do not count these payments.
  • In a MultiSend batch, a limit counts the total of the batch’s readable payments of its asset. Unread calls do not count.
  • safe.spend.native also counts the EntryPoint gas prefund that a SafeOp without a paymaster takes from the Safe, also when Para does not read the call.
  • Each budget is kept per API key, Safe, network, asset and window length. Your Guardrails and Requests share it: every safe.spend rule with that window length reads the same spend, whichever wallet signs.
  • Owners who sign the same SafeTx or SafeOp hash share one count. An execTransaction can use a counted co-signature’s credit when the payment matches, that co-signature has not already covered another execution, and Para recovers its signer from the first signature slot. A request covered by an already-counted key or this execution credit adds nothing, so the limit does not block it.
  • safe.spend.erc20 without asset counts every ERC-20 payment, with a separate budget for each token. It cannot judge a batch that pays two tokens, so a rule with that limit can deny the batch. Set asset for a Safe that batches payments in several tokens.
  • A zero-amount native payment does not count, and neither does an ERC-20 transferFrom that pulls tokens from an address other than the Safe. The condition is not applicable to them.
Execution credit supports ECDSA signatures with v of 27 or 28, in hex buffers with at most 32 complete 65-byte slots. Only the first complete slot is inspected. A matching signature in a later slot, another signature mode or failed signer recovery receives no credit, so the execution counts separately unless its own request count key was already counted.
A Safe spend limit counts only payments Para can read, and the gas prefund of a SafeOp without a paymaster. Its conditions are not applicable to Safe contract calls and opaque Safe transactions, such as DelegateCalls and calls that pay a gas refund, so other rules and the Para baseline decide them. To deny those requests, pair the limit with an explicit request.safe.innerDecoded eq false deny, as safe-payouts.json does. Missing payment details alone do not establish a denial. Neither rule sees an owner wallet’s direct calls to the Safe; see Direct calls to the Safe.
Para does not check that a wallet owns the Safe. A payment counts toward the budget of the Safe it names (the execTransaction target, the SafeTx domain’s verifyingContract or the SafeOp message’s safe) whenever a safe.spend rule covers the request, so a wallet that is not an owner can use up the Safe’s budget. Scope each policy that uses safe.spend to the Safe’s owner wallets: list them with walletId in a Guardrail, or list the users who own them with userId in a Request.

Source account spend

On Stellar, sourceAccount.spend.native and sourceAccount.spend.token limit the spend of the account a transaction spends from, request.sourceAccount. Use them for an account that several of your wallets co-sign, such as a multisig account. See Co-signed Stellar transactions.
  • Each budget is kept per API key, source account, network, asset and window length. A muxed account counts as its base G... account.
  • Every wallet of yours that signs for the source account adds to the same budget. Para counts a transaction once by its hash, even when several of your wallets sign it. For a fee bump, Para uses the inner transaction’s hash.
  • The limits count the same Stellar transfers as wallet.spend.*. See What counts.
  • wallet.spend.native and wallet.spend.token still meter the signing wallet.
  • A policy for another wallet type that reads these facts fails validation with fact_wallet_type_unsupported.
A source account limit needs one source account for the whole transaction. When the operations spend from more than one account, the limit cannot be judged and fails closed. For example, a deny rule on sourceAccount.spend.native denies the request with missing-fact.

Reading usage

Read current spend with getUserPolicyUsage in the client SDKs or getPolicyUsage in the REST SDK. Each meter reports the window, its reset time, and the committed, reserved and used amounts. Meters for allow rules that use lt or lte outside not and any also report the remaining amount. Each limit condition is its own meter, so when one rule has two limits on the same fact and window, the rule allows only the smaller remainingBaseUnits. See Permissions types for the response shape. Safe meters appear only when the usage request passes safeAddress. In the client SDKs, they also need one of the user’s wallets to have made a payment request that Para metered against that Safe on that network. Source account meters do not appear in the usage report.

User-adjustable parameters

A Request can let each user set their own amount for a limit. Add a parameter to a compare or aggregate condition, and its value becomes the default.
  • Only Request policies can be personalized. A Guardrail with a parameter validates, but its default always applies.
  • A user who changes their values must consent to the policy again.
  • A user can save only values within min and max. Saving another value fails with 400 and the message user parameter values are invalid. At signing, Para denies a saved value outside the bounds with parameter_configuration_invalid.
Without max, a user can set a higher limit than your default. Set max to cap the limit a user can set. A Guardrail cannot cap it, because Guardrails never govern user-owned wallets.
After you publish a new version of the policy, each user’s saved values need their confirmation. Until the user confirms, Para denies that user’s requests that the policy selects, with the reason parameter_configuration_invalid.