@kagamidigital/salt-sdk-mirror
    Preparing search index...

    Type Alias LimitEntry

    A per-token limit entry in a transaction_limit_token_denominated policy.

    type LimitEntry = {
        address: string;
        amount: string;
        isWarningSuppressed?: boolean;
    }
    Index

    Properties

    address: string

    Token contract address the limit applies to, matched case-insensitively. Use the zero address for the chain's native asset.

    '0x0000000000000000000000000000000000000000'
    
    amount: string

    Maximum amount a single transaction may transfer, as an integer string in the asset's base units: wei for native transfers, the token's own decimals for ERC-20 (e.g. 6 decimals for USDC, so a 1 USDC limit is '1000000'). The limit applies per transaction; amounts are not accumulated across transactions.

    Must be a non-negative integer string ('0', '1000000', …) — the API rejects negatives, decimals, hex, scientific notation and non-numeric strings with a 400 at creation time. Use viem's parseUnits or similar to convert human amounts, never string formatting of floating-point numbers.

    '0' is valid and means the asset is frozen: every positive transfer of it breaches the policy (zero-value transactions such as contract calls are unaffected).

    '1000000000000000000' // 1 ETH / 1 DAI (18 decimals)
    
    '1000000' // 1 USDC (6 decimals)
    
    isWarningSuppressed?: boolean

    Hides the warning shown for this limit in the Salt web app. Not read during policy evaluation.