Every DeFi agent, portfolio tracker, MCP server, and wallet can monetize December 2026 tax-loss harvesting without charging users a cent upfront. Simply pass your referrerWallet address to TaxRail's execution endpoint and earn 20% of the 10% verified-savings fee.
Because TaxRail charges $0 upfront and embeds its fee inside the 0x v2 swap or Aave v3 borrow calldata, conversion is frictionless. Test it right now in the live scanner or integrate via npm (taxrail-mcp, plugin-taxrail) or PyPI (taxrail).
POST https://api.taxrail.online/v1/prepare-execution
Content-Type: application/json
{
"walletAddress": "0xUSER_WALLET",
"chain": "base",
"strategy": "tlh_swap",
"referrerWallet": "0xYOUR_AGENT_TREASURY"
}
TaxRail returns verified tax savings, 1-click unsigned calldata, and attributes 20% affiliate revshare to 0xYOUR_AGENT_TREASURY upon on-chain settlement.
npx -y taxrail-mcpnpm i plugin-taxrail1231787 on Base Mainnetpip install taxrailTechnical overview of pre-trade checks and dossiers.
Year-end TLH opportunities on Base Mainnet.
Why US wallets need pre-Dec 31 scans.