azeth_get_net_paid
Check payment history between two accounts to determine reputation feedback weight. Returns net paid in USD or per-token delta.
Instructions
Check how much one account has paid another — either total USD or per-token.
Use this when: You want to verify payment history between two accounts, which determines feedback weight in the payment-gated reputation system.
Two modes: • No token (default): Returns total net paid in 18-decimal USD, aggregated across all tokens via the on-chain oracle. Always >= 0. • With token: Returns the signed per-token delta. Positive = "from" paid more, negative = "to" paid more. Use 0x0...0 for native ETH.
"from" defaults to your own address ("me") if omitted. "to" accepts a name, address, or "me".
Note: This is a read-only on-chain query. No private key or gas is required (unless "me" or a name is used for resolution).
Example: { "to": "Alice" } or { "from": "#1", "to": "Bob", "token": "0x036CbD53842c5426634e7929541eC2318f3dCF7e" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Target chain. Defaults to AZETH_CHAIN env var or "baseSepolia". Accepts "base", "baseSepolia", "ethereumSepolia", "ethereum" (and aliases like "base-sepolia", "eth-sepolia", "sepolia", "eth", "mainnet"). | |
| from | No | Payer address, name, "me", or "#N" (account index). Defaults to "me" (your first smart account). | |
| to | Yes | Payee address, name, "me", or "#N" (account index). | |
| token | No | Token address for per-token delta. Omit for total USD across all tokens. Use "0x0000000000000000000000000000000000000000" for native ETH. |