cryptotaxedge

US tax classification for on-chain transactions: category, treatment, confidence, review flags.

¿Debería usar esto?

Calidad y seguridad

B
Calidad de la descripción
94%
Integridad del esquema
98%
Calidad de los nombres
84%
Riesgo de envenenamiento
40%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (5)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains URL to non-standard domainen classify_transaction
  • MEDIUMTool description contains URL to non-standard domainen classify_batch
  • MEDIUMTool description contains URL to non-standard domainen verify_batch
  • LOWTool 'lookup_contract' description lacks action verben lookup_contract

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~5,743Tokens (definiciones de herramientas)
~11.2 KBTamaño de respuesta típico
Impacto significativo en la atención (4.49% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "cryptotaxedge": {
      "url": "https://mcp.cryptotaxedge.com/"
    }
  }
}

Puntos de conexión remotos

https://mcp.cryptotaxedge.com/streamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (5)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢classify_transaction(tx_hash, chain, contract_address, function_selector, wallet, ...)

Classify a single blockchain transaction using CryptoTaxEdge's multi-source consensus engine, the same engine and serve semantics as the public REST /v1/classify endpoint. Returns the /v1 contract fields: category (the open vocabulary the engine emits, for example swap, transfer, staking, reward, airdrop, income_receipt, fee_payment, borrow, repay, collateral_supply, collateral_withdraw, liquidity_add, liquidity_remove, wrap, unwrap, liquid_staking_mint, bridge_transfer, nft_mint, spam, unclassified; the full set with house treatments is at https://cryptotaxedge.com/standard/#categories and grows additively, so branch exhaustive logic on treatment, never on category), treatment (closed enum: disposal, income, non_taxable, expense, needs_review; needs_review means no treatment is asserted and taxable is null), taxable, confidence, needs_review, ledger_action, protocol, description (plain-English reasoning, also returned as explanation for existing clients) and, on hash lookups, assets (sent, received, gas), block_time and block_number, and for a multi-step lending transaction a per-leg breakdown (legs, memo). Rules for using the answer: never book a row whose needs_review is true, and never treat legs as a verdict (they are a proposal for a reviewer and do not change the row). A row that carries error was not classified: it is not a review decision, so fix or resend the input. Pass prices: true for an indicative USD value per asset. Works for EVM chains and Solana. Provide tx_hash (chain optional, auto-detected) to classify a transaction. Without a tx_hash, contract_address + function_selector + chain asks what that contract function generally is; that answer is not about any transaction of yours, and a transfer is never answered that way. If both are sent, the tx_hash is used.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "tx_hash": {
      "type": "string",
      "description": "Transaction hash (0x-prefixed 66-char for EVM, base-58 for Solana). Either tx_hash OR contract_address is required."
    },
    "chain": {
      "type": "string",
      "description": "Chain slug (e.g. \"ethereum\", \"polygon\", \"bsc\", \"arbitrum\", \"base\", \"optimism\", \"avalanche\", \"solana\"). Optional for tx_hash lookups; the engine auto-detects the chain. REQUIRED for contract_address lookups."
    },
    "contract_address": {
      "type": "string",
      "description": "(Optional) 0x-prefixed contract address the transaction called. With function_selector + chain, performs a rule-library tuple lookup."
    },
    "function_selector": {
      "type": "string",
      "description": "(Optional) 0x-prefixed 4-byte function selector (first 4 bytes of tx input data)."
    },
    "wallet": {
      "type": "string",
      "description": "(Optional) One 0x-prefixed EVM address to read the transaction from. Sent and received are then reported from this address instead of from the transaction sender. Use it when the books belong to someone other than the sender, for example the recipient of a transfer or of a bridge payout. An address that took no part in the transaction gives a review row. To say which addresses share an owner, use wallets."
    },
    "prices": {
      "type": "boolean",
      "description": "(Optional) true to add an indicative USD value to each asset: usd_price and usd_value on every leg that can be priced, at the market price near the block time, plus a valuation block. Not a cost basis. Assets with no usable quote are left without a value and listed with a reason."
    },
    "wallets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "(Optional) Up to 50 0x-prefixed EVM wallet addresses that belong to the same owner as the books. A transfer between two wallets on this list is served as an own-wallet movement (non-taxable); without the list every plain transfer is routed to review. Include the sending wallet."
    }
  },
  "required": []
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "description": "Canonical category. Open vocabulary that only grows additively; tolerate unfamiliar values and branch exhaustive logic on treatment instead. Full set with house treatments: https://cryptotaxedge.com/standard/#categories"
    },
    "treatment": {
      "type": "string",
      "enum": [
        "disposal",
        "income",
        "non_taxable",
        "expense",
        "needs_review"
      ],
      "description": "Closed five-value tax treatment enum, safe to switch on exhaustively. needs_review means no treatment is asserted."
    },
    "taxable": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "null when needs_review"
    },
    "confidence": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "description": "Routing signal, not an accuracy claim. 0 on a row that carries error: no verdict exists."
    },
    "needs_review": {
      "type": "boolean"
    },
    "error": {
      "type": "string",
      "description": "Present only on a row the engine did not classify (invalid_hash, tx_not_retrievable, batch_budget_exhausted and similar). Such a row is not a verdict: do not post it and do not treat it as a review decision; fix or retry the input."
    },
    "hash": {
      "type": [
        "string",
        "null"
      ],
      "description": "The transaction hash this row answers."
    },
    "tx_hash": {
      "type": [
        "string",
        "null"
      ],
      "description": "Same value as hash, kept for existing clients."
    },
    "tx_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Batch rows: your row id echoed back."
    },
    "chain": {
      "type": [
        "string",
        "null"
      ]
    },
    "review_note": {
      "type": [
        "string",
        "null"
      ],
      "description": "Why a review row was routed to a human."
    },
    "ledger_action": {
      "type": [
        "string",
        "null"
      ],
      "description": "Suggested ledger label for posting, same field as REST /v1."
    },
    "protocol": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Plain-English reasoning for the verdict, same field as REST /v1."
    },
    "explanation": {
      "type": [
        "string",
        "null"
      ],
      "description": "Deprecated alias of description, kept for existing clients."
    },
    "assets": {
      "type": "object",
      "description": "Net asset movements, same shape as REST /v1: sent and received legs plus the gas leg (null when not attributable). Present when the engine response carries them.",
      "properties": {
        "sent": {
          "type": "array"
        },
        "received": {
          "type": "array"
        },
        "gas": {
          "type": [
            "object",
            "null"
          ]
        }
      }
    },
    "block_time": {
      "type": "string",
      "description": "When the transaction was mined, UTC. Absent when it could not be read."
    },
    "block_number": {
      "type": "integer",
      "description": "The block (or Solana slot) the transaction was mined in."
    },
    "valuation": {
      "type": "object",
      "description": "Only when prices: true was passed: what the usd_value figures on the legs are (currency, as_of, priced and unpriced leg counts, and a reason for each unpriced leg). Indicative market prices, not a cost basis."
    },
    "legs": {
      "type": "array",
      "description": "Only when the receipt shows this wallet changing a lending position in two or more steps: one leg per event (flash_loan, supply_collateral, withdraw_collateral, borrow, repay) and a swap when market prices confirm one, each with role, category, treatment, taxable, asset and basis (event or derived). A proposal for the reviewer; it does not change the verdict.",
      "items": {
        "type": "object"
      }
    },
    "memo": {
      "type": "string",
      "description": "Present with legs: a plain-English summary of them."
    },
    "example_tx_hash": {
      "type": [
        "string",
        "null"
      ],
      "description": "Contract-and-selector lookups only: the classified transaction this general answer was taken from. It is not a transaction of yours."
    },
    "lookup": {
      "type": "string",
      "description": "contract_function on a contract-and-selector lookup. Absent on a transaction answer."
    },
    "note": {
      "type": "string",
      "description": "Contract-and-selector lookups only: what the answer is and is not."
    }
  },
  "required": [
    "category",
    "treatment",
    "confidence",
    "needs_review"
  ]
}
🟢lookup_contract(address, chain)

Look up a smart contract in CryptoTaxEdge's registry. Returns protocol metadata, contract type, verified ABI availability, label, and category hints. Use before deciding whether to classify a tx.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "Contract address (0x-prefixed 42-char for EVM)."
    },
    "chain": {
      "type": "string",
      "description": "Chain slug (e.g. \"ethereum\", \"polygon\", \"arbitrum\"). EVM only."
    }
  },
  "required": [
    "address",
    "chain"
  ]
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "Branch on this: false means the address is not in the registry, and the other fields are empty."
    },
    "address": {
      "type": [
        "string",
        "null"
      ]
    },
    "protocol": {
      "type": [
        "string",
        "null"
      ]
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "description": "A registry hint about what the contract is for. Not a transaction category and not a tax verdict."
    },
    "chain": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "found"
  ]
}
🟢classify_batch(transactions, wallet, prices, wallets, engagement_id, ...)

Classify a batch of blockchain transactions (up to 100) using CryptoTaxEdge's classification engine. Built for accounting platforms integrating CryptoTaxEdge as their classification layer. Returns per-transaction: category (the open vocabulary the engine emits, for example swap, transfer, staking, reward, airdrop, income_receipt, fee_payment, borrow, repay, collateral_supply, collateral_withdraw, liquidity_add, liquidity_remove, wrap, unwrap, liquid_staking_mint, bridge_transfer, nft_mint, spam, unclassified; the full set with house treatments is at https://cryptotaxedge.com/standard/#categories and grows additively, so branch exhaustive logic on treatment, never on category), treatment (closed enum: disposal, income, non_taxable, expense, needs_review; needs_review means no treatment is asserted), tax_category (the engine's stored treatment value, kept for existing hosts), taxable, confidence score, needs_review, ledger_action, protocol, description (plain-English reasoning, also returned as explanation for existing clients), assets (sent, received, gas) and a reliability envelope with an explicit route-to-review flag, plus block_time and block_number. A multi-step lending transaction (Morpho Blue, Aave V3) additionally returns a per-leg breakdown (legs) and a summary (memo). Pass prices: true for an indicative USD value per asset and a valuation block. EVM + Solana. Rules for using the answer: never book a row whose needs_review is true, and never treat legs as a verdict (they are a proposal for a reviewer and do not change the row). A row that carries error was not classified: it is not a review decision, so fix or resend the input. Pass engagement_id / firm_id to apply firm-specific classification policy when configured.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "transactions": {
      "type": "array",
      "description": "Array of transactions to classify (max 100 per call).",
      "maxItems": 100,
      "items": {
        "type": "object",
        "properties": {
          "tx_id": {
            "type": "string",
            "description": "(Optional) your own ID for this tx; echoed back so you can correlate results to your records."
          },
          "tx_hash": {
            "type": "string",
            "description": "Transaction hash (0x-prefixed 66-char for EVM, base-58 for Solana)."
          },
          "chain": {
            "type": "string",
            "description": "Chain slug (e.g. \"ethereum\", \"polygon\", \"bsc\", \"arbitrum\", \"base\", \"optimism\", \"avalanche\", \"solana\"). Optional; CryptoTaxEdge auto-detects the chain if omitted."
          }
        },
        "required": [
          "tx_hash"
        ]
      }
    },
    "wallet": {
      "type": "string",
      "description": "(Optional) One 0x-prefixed EVM address to read every transaction in this batch from. Sent and received are then reported from this address instead of from the transaction sender. Use it when the books belong to someone other than the sender, for example the recipient of a transfer or of a bridge payout. An address that took no part in the transaction gives a review row. To say which addresses share an owner, use wallets."
    },
    "prices": {
      "type": "boolean",
      "description": "(Optional) true to add an indicative USD value to each asset: usd_price and usd_value on every leg that can be priced, at the market price near the block time, plus a valuation block. Not a cost basis. Assets with no usable quote are left without a value and listed with a reason."
    },
    "wallets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "(Optional) Up to 50 0x-prefixed EVM wallet addresses that belong to the same owner as the books. A transfer between two wallets on this list is served as an own-wallet movement (non-taxable); without the list every plain transfer is routed to review. Include the sending wallet."
    },
    "engagement_id": {
      "type": "string",
      "description": "(Optional) host-side engagement identifier. Reserved for firm-policy + engagement-record correlation. No effect today; forward-compatible."
    },
    "firm_id": {
      "type": "string",
      "description": "(Optional) host-side firm identifier. When firm classification policy is configured, applies that firm's confidence thresholds + CoA overrides."
    }
  },
  "required": [
    "transactions"
  ]
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "Canonical category. Open vocabulary that only grows additively; tolerate unfamiliar values and branch exhaustive logic on treatment instead. Full set with house treatments: https://cryptotaxedge.com/standard/#categories"
          },
          "treatment": {
            "type": "string",
            "enum": [
              "disposal",
              "income",
              "non_taxable",
              "expense",
              "needs_review"
            ],
            "description": "Closed five-value tax treatment enum, safe to switch on exhaustively. needs_review means no treatment is asserted."
          },
          "taxable": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "null when needs_review"
          },
          "confidence": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100,
            "description": "Routing signal, not an accuracy claim. 0 on a row that carries error: no verdict exists."
          },
          "needs_review": {
            "type": "boolean"
          },
          "error": {
            "type": "string",
            "description": "Present only on a row the engine did not classify (invalid_hash, tx_not_retrievable, batch_budget_exhausted and similar). Such a row is not a verdict: do not post it and do not treat it as a review decision; fix or retry the input."
          },
          "hash": {
            "type": [
              "string",
              "null"
            ],
            "description": "The transaction hash this row answers."
          },
          "tx_hash": {
            "type": [
              "string",
              "null"
            ],
            "description": "Same value as hash, kept for existing clients."
          },
          "tx_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Batch rows: your row id echoed back."
          },
          "chain": {
            "type": [
              "string",
              "null"
            ]
          },
          "review_note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why a review row was routed to a human."
          },
          "ledger_action": {
            "type": [
              "string",
              "null"
            ],
            "description": "Suggested ledger label for posting, same field as REST /v1."
          },
          "protocol": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Plain-English reasoning for the verdict, same field as REST /v1."
          },
          "explanation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Deprecated alias of description, kept for existing clients."
          },
          "assets": {
            "type": "object",
            "description": "Net asset movements, same shape as REST /v1: sent and received legs plus the gas leg (null when not attributable). Present when the engine response carries them.",
            "properties": {
              "sent": {
                "type": "array"
              },
              "received": {
                "type": "array"
              },
              "gas": {
                "type": [
                  "object",
                  "null"
                ]
              }
            }
          },
          "block_time": {
            "type": "string",
            "description": "When the transaction was mined, UTC. Absent when it could not be read."
          },
          "block_number": {
            "type": "integer",
            "description": "The block (or Solana slot) the transaction was mined in."
          },
          "valuation": {
            "type": "object",
            "description": "Only when prices: true was passed: what the usd_value figures on the legs are (currency, as_of, priced and unpriced leg counts, and a reason for each unpriced leg). Indicative market prices, not a cost basis."
          },
          "legs": {
            "type": "array",
            "description": "Only when the receipt shows this wallet changing a lending position in two or more steps: one leg per event (flash_loan, supply_collateral, withdraw_collateral, borrow, repay) and a swap when market prices confirm one, each with role, category, treatment, taxable, asset and basis (event or derived). A proposal for the reviewer; it does not change the verdict.",
            "items": {
              "type": "object"
            }
          },
          "memo": {
            "type": "string",
            "description": "Present with legs: a plain-English summary of them."
          },
          "example_tx_hash": {
            "type": [
              "string",
              "null"
            ],
            "description": "Contract-and-selector lookups only: the classified transaction this general answer was taken from. It is not a transaction of yours."
          },
          "lookup": {
            "type": "string",
            "description": "contract_function on a contract-and-selector lookup. Absent on a transaction answer."
          },
          "note": {
            "type": "string",
            "description": "Contract-and-selector lookups only: what the answer is and is not."
          }
        },
        "required": [
          "category",
          "treatment",
          "confidence",
          "needs_review"
        ]
      }
    }
  },
  "required": [
    "results"
  ]
}
🟢map_to_chart_of_accounts(transactions, wallet, wallets, chart_of_accounts)

Map classified blockchain transactions into journal-entry-ready ledger lines against a chart of accounts. For each transaction (up to 100): debit account, credit account, optional gain/loss plug account, memo (protocol + reasoning), confidence, and a route-to-review flag, plus category roll-ups with the governing US tax authority (IRC §1001, §61, Rev. Rul. 2019-24, Rev. Rul. 2023-14, etc.). Pass your own chart_of_accounts (array of {name, type}) and the tool maps to YOUR account names; omit it for a standard crypto-treasury chart. Suggested, non-binding entries: the ledger platform owns amounts, cost basis, and posting.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "transactions": {
      "type": "array",
      "maxItems": 100,
      "description": "Transactions to classify + map (max 100 per call).",
      "items": {
        "type": "object",
        "properties": {
          "tx_id": {
            "type": "string",
            "description": "Your row id, echoed back."
          },
          "hash": {
            "type": "string",
            "description": "On-chain transaction hash (0x…64 hex)."
          },
          "chain": {
            "type": "string",
            "description": "Chain slug, e.g. ethereum, polygon, base, arbitrum, optimism, bsc, avalanche."
          },
          "fiat_amount": {
            "type": "number",
            "description": "Optional fiat value for the roll-ups."
          }
        },
        "required": [
          "hash"
        ]
      }
    },
    "wallet": {
      "type": "string",
      "description": "(Optional) One 0x-prefixed EVM address to read every transaction from, when the books belong to someone other than the transaction sender (for example the recipient). Same meaning as on the classify tools."
    },
    "wallets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "(Optional) Up to 50 0x-prefixed EVM wallet addresses that belong to the same owner as the books. A transfer between two wallets on this list is an own-wallet movement (no entry) instead of a review. Include the sending wallet."
    },
    "chart_of_accounts": {
      "type": "array",
      "description": "Optional: your chart of accounts as [{name, type}]. Account names are pattern-matched per role (digital assets, income, fees, realized G/L, collateral, LP positions, loan payable). Omit for the standard chart.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "transactions"
  ]
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "summary": {
      "type": "object",
      "description": "transactions, mapped, no_entry, route_to_review, not_classified (rows the engine did not classify: not reviews, fix or resend them), accounts_used (role to account name or null), chart_supplied, account_matched (role to boolean), unmatched_roles, ambiguous_roles (role to the candidate account names when more than one fits; the role is left null)."
    },
    "journal_lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tx_id": {
            "type": "string"
          },
          "hash": {
            "type": "string"
          },
          "chain": {
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "type": "string"
          },
          "classified": {
            "type": "boolean"
          },
          "no_template": {
            "type": "boolean"
          },
          "taxable": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "null means undetermined: never read it as non-taxable."
          },
          "debit_account": {
            "type": [
              "string",
              "null"
            ]
          },
          "credit_account": {
            "type": [
              "string",
              "null"
            ]
          },
          "plug_account": {
            "type": [
              "string",
              "null"
            ]
          },
          "unmatched_roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Ledger roles this entry needs that your chart of accounts does not contain."
          },
          "assets": {
            "type": [
              "object",
              "null"
            ],
            "description": "sent[], received[] (symbol, amount, token_address) and gas, as the engine read them. Amounts are display precision; your ledger owns exact quantities."
          },
          "no_entry": {
            "type": "boolean"
          },
          "route_to_review": {
            "type": "boolean",
            "description": "true: do not post without a reviewer."
          },
          "grey_area": {
            "type": "boolean"
          },
          "memo": {
            "type": "string"
          },
          "confidence": {
            "type": "number",
            "description": "Routing signal, not an accuracy claim."
          },
          "tax_authority": {
            "type": [
              "string",
              "null"
            ],
            "description": "null on a row routed to review."
          }
        },
        "required": [
          "tx_id",
          "category",
          "route_to_review"
        ]
      }
    },
    "category_rollups": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "disclaimer": {
      "type": "string"
    },
    "error": {
      "type": "string"
    }
  }
}
🟢verify_batch(rows, fill)

Verify a batch of caller-assigned transaction labels (up to 100) against CryptoTaxEdge's deterministic classification basis: rules, the verified cache and the answer guards, with no model call. Returns per row a verdict (agree, disagree, unverifiable), the engine's cte_category, cte_treatment and cte_taxable when known, confidence (a routing signal, not an accuracy claim), evidence (the checks run: label mapping, basis, legs vs on-chain transfers, label vs token flows, protocol registry, taxability, calibration), a suggested_fill and a machine-readable dispute (dispute_id, failed check, evidence, how to contest, review_sla_hours) on disagree, and a reason with fill_available on unverifiable. A row with no deterministic basis is unverifiable and free; pass fill=true on that row to run the classification engine on it (that row is then a fill). Labels are read in the Standard vocabulary (https://cryptotaxedge.com/standard/#categories), the served ledger-action labels, and the Koinly and CoinTracker export vocabularies; an unmapped label is unverifiable (label_unmapped), never best-effort matched. Verify does not decide tax treatment beyond the published Standard and does not file.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "rows": {
      "type": "array",
      "description": "Rows to verify (max 100 per call).",
      "maxItems": 100,
      "items": {
        "type": "object",
        "properties": {
          "tx_id": {
            "type": "string",
            "description": "(Optional) your own row id; echoed back as id."
          },
          "tx_hash": {
            "type": "string",
            "description": "Transaction hash (0x-prefixed 66-char for EVM, base-58 for Solana)."
          },
          "chain": {
            "type": "string",
            "description": "Chain slug (e.g. \"ethereum\", \"polygon\", \"base\", \"arbitrum\", \"solana\"). Optional on the major networks (auto-detected); pass it for other chains."
          },
          "caller_label": {
            "type": "string",
            "description": "The label you assigned: a Standard category (swap, reward, transfer, ...), a served ledger action (Trade, Income, ...), or a Koinly or CoinTracker export label."
          },
          "caller_taxable": {
            "type": "boolean",
            "description": "(Optional) the taxability you assigned. When given it is checked against the house treatment (and the Standard's alternate treatment on grey-area categories)."
          },
          "label_vocabulary": {
            "type": "string",
            "enum": [
              "standard",
              "ledger_action",
              "koinly",
              "cointracker"
            ],
            "description": "(Optional) pin which vocabulary the label is in. Without it the Standard is read first; a word that exists in two vocabularies with different meanings (Koinly \"swap\") is reported as a collision."
          },
          "wallet": {
            "type": "string",
            "description": "(Optional) 0x wallet whose perspective the legs are read from."
          },
          "fill": {
            "type": "boolean",
            "description": "(Optional, default false) run the classification engine when no deterministic basis exists. That row is then billed as a fill (1.0) instead of free."
          }
        },
        "required": [
          "tx_hash",
          "caller_label"
        ]
      }
    },
    "fill": {
      "type": "boolean",
      "description": "(Optional, default false) default for rows that do not set fill."
    }
  },
  "required": [
    "rows"
  ]
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Your tx_id, echoed."
          },
          "hash": {
            "type": [
              "string",
              "null"
            ]
          },
          "chain": {
            "type": [
              "string",
              "null"
            ]
          },
          "verdict": {
            "type": "string",
            "enum": [
              "agree",
              "disagree",
              "unverifiable"
            ]
          },
          "caller_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "cte_category": {
            "type": [
              "string",
              "null"
            ],
            "description": "Standard category when known (open vocabulary)."
          },
          "cte_treatment": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "disposal",
              "income",
              "non_taxable",
              "expense",
              "needs_review",
              null
            ]
          },
          "cte_taxable": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "confidence": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0,
            "maximum": 100,
            "description": "Routing signal, not an accuracy claim."
          },
          "basis": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "cache",
              "fill",
              null
            ]
          },
          "evidence": {
            "type": "object",
            "description": "checks[] (name, pass, detail), label_map, legs, guard, registry, calibration."
          },
          "suggested_fill": {
            "type": "object",
            "description": "On disagree: the engine category, treatment, taxable, ledger_action, confidence, description."
          },
          "reason": {
            "type": "string",
            "description": "On unverifiable: label_missing, label_unmapped, no_deterministic_basis, engine_routed_to_review, low_confidence, tx_not_found, basis_error, budget_exhausted, invalid_hash, invalid_input, chain_unsupported."
          },
          "fill_available": {
            "type": "boolean"
          },
          "dispute": {
            "type": "object",
            "description": "On disagree: dispute_id, failed_check, failed_checks, evidence, contest { how, review_sla_hours }."
          },
          "metered": {
            "type": "object",
            "properties": {
              "units": {
                "type": "number"
              },
              "repeat": {
                "type": "boolean"
              }
            }
          }
        },
        "required": [
          "verdict",
          "metered"
        ]
      }
    },
    "metered": {
      "type": "object",
      "properties": {
        "units_total": {
          "type": "number"
        }
      }
    },
    "latency_ms": {
      "type": "integer"
    }
  },
  "required": [
    "results"
  ]
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada5 herramientas
verificadoversión no registrada5 herramientas
verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas