insumer_check_discount
Calculate discount for a wallet at a merchant. Checks on-chain balances and returns tier and discount percentage per token, never raw balance amounts. Free: does not consume credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | No | EVM wallet address (0x...) | |
| merchant | Yes | Merchant ID | |
| suiWallet | No | Sui wallet address (0x + 64 hex) | |
| tronWallet | No | Tron wallet address (T-prefixed) | |
| xrplWallet | No | XRPL wallet address (r-address) | |
| solanaWallet | No | Solana wallet address (base58) | |
| stellarWallet | No | Stellar wallet address (G-prefixed) |