Import
Definition
Client-side limits checked before anything is signed. The server chooses the amount in a 402 challenge, so a hostile or buggy server could ask for any amount. These controls bound what the client will agree to.

Properties

AmountLimit | Record<string, AmountLimit>
Maximum amount per payment in base units. A single value applies to every asset; a record maps asset ids ("0" for ALGO) to limits, with "*" as the fallback for assets not listed. Anything not covered falls back to {@link DEFAULT_MAX_AMOUNT}. Pass Infinity to remove the cap.
Array<string | number | bigint>
If set, only these asset ids may be paid.
string[]
If set, only these networks (names or CAIP-2 ids) may be paid.
string[]
If set, only these recipient addresses may be paid.
Source: src/index.ts