register_nattswap_reward
Register a confirmed swap transaction hash to credit NDAT rewards and Decision Core quota credits. Returns credits awarded and founder multiplier flags.
Instructions
Register a completed on-chain swap tx to credit NDAT rewards + Decision Core quota credits. USE WHEN: swap_via_nattswap (or any Li.Fi swap) tx is confirmed on-chain. NOT WHEN: only quoting (swap_quote) or checking balance (get_agent_balance). RETURNS: credits_awarded, ndat_credited, founder_multiplier flags. Free at MCP. Side effects: mutating reward ledger for agentAddress.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | Confirmed swap transaction hash on source chain (0x…) | |
| agentAddress | Yes | Agent wallet 0x + 40 hex that executed or benefits from the swap |