Classify transaction batch
classify_batchClassify up to 100 blockchain transactions in one call, returning per-transaction category, tax treatment, confidence score, and explanation. Supports EVM and Solana with firm policy options for accounting platforms.
Instructions
Classify a batch of blockchain transactions (up to 100) using CryptoTaxEdge's classification engine. Built for accounting platforms integrating CTE as their classification layer. Returns per-transaction: canonical category (swap / transfer / income_receipt / fee_payment / borrow / repay / collateral_supply / collateral_withdraw / liquidity_add / liquidity_remove / unclassified), tax treatment (taxable, tax category), confidence score, and a natural-language explanation. Complex multi-step transactions (flash loans, batch NFT sales, bridges, DCA programs) additionally return a per-leg breakdown and a preparer-ready memo with IRS citations. EVM + Solana. Pass engagement_id / firm_id to apply firm-specific classification policy when configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| firm_id | No | (Optional) host-side firm identifier. When firm classification policy is configured, applies that firm's confidence thresholds + CoA overrides. | |
| transactions | Yes | Array of transactions to classify (max 100 per call). | |
| engagement_id | No | (Optional) host-side engagement identifier. Reserved for firm-policy + engagement-record correlation. No effect today; forward-compatible. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |