Crypto Tax · Network Fee Allocate
Assign network/gas fees to acquisition basis, disposal proceeds, expense or fee-asset disposal per caller policy. Docs: https://www.brainiac.software/api/crypto-tax/network-fee-allocate
POST https://www.brainiac.software/api/v1/crypto-tax/network-fee-allocate
0.02 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"fees": [
{
"asset": "ETH",
"context": "disposal",
"fiatValue": 500,
"id": "f1",
"qty": "0.002",
"relatedId": "s1"
}
],
"policy": {
"acquisition": "add_to_basis",
"disposal": "deduct_from_proceeds",
"failed_tx": "ignore",
"transfer": "expense"
}
}{
"adjustments": [
{
"action": "deduct_from_proceeds",
"amount": 500,
"feeId": "f1",
"target": "s1"
}
],
"feeAssetDisposals": [],
"limitations": [
"Maps each fee context to the caller policy. disposal_of_fee_asset emits a disposal of the fee asset at fiatValue for later gain calculation.",
"Pure computation on caller input: no exchange, wallet, market-price or tax-authority API is called at request time."
],
"sources": [
{
"retrievedAt": "2026-11-14",
"source": "Caller-supplied ledger, prices and jurisdiction inputs processed locally",
"status": "ok",
"url": "https://www.brainiac.software/api/v1/crypto-tax"
}
]
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://www.brainiac.software/api/v1/crypto-tax/network-fee-allocate · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"fees": {
"type": "array",
"items": {
"type": "object"
},
"description": "fees supplied by the caller for this operation.",
"example": [
{
"id": "f1",
"relatedId": "s1",
"context": "disposal",
"asset": "ETH",
"qty": "0.002",
"fiatValue": 500
}
]
},
"policy": {
"type": "object",
"description": "policy supplied by the caller for this operation.",
"example": {
"acquisition": "add_to_basis",
"disposal": "deduct_from_proceeds",
"transfer": "expense",
"failed_tx": "ignore"
}
}
},
"required": [
"fees",
"policy"
],
"additionalProperties": false
}Output schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"adjustments": {
"type": "array",
"description": "adjustments returned by this operation.",
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"feeId": {
"type": "string",
"description": "fee Id returned by this operation."
},
"target": {
"type": "string",
"description": "target returned by this operation."
},
"action": {
"type": "string",
"description": "action returned by this operation."
},
"amount": {
"type": "integer",
"description": "amount returned by this operation."
}
}
}
},
"feeAssetDisposals": {
"type": "array",
"description": "fee Asset Disposals returned by this operation."
},
"sources": {
"type": "array",
"description": "Provenance only — upstream name, url, and retrievedAt when available.",
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"source": {
"type": "string",
"description": "Named upstream source for this delayed reference series."
},
"url": {
"type": "string",
"description": "Requested public URL."
},
"retrievedAt": {
"type": "string",
"description": "ISO-8601 timestamp when upstream data was retrieved."
},
"status": {
"type": "string",
"description": "Coverage status: complete or partial with real data is charged on HTTP 2xx; failed or empty payloads return non-2xx and are not charged."
}
}
}
},
"limitations": {
"type": "array",
"description": "Product caveats. Absence of a signal is not a safety approval."
}
}
}curl -i -X POST 'https://www.brainiac.software/api/v1/crypto-tax/network-fee-allocate' \
-H 'content-type: application/json' -d '{"fees":[{"id":"f1","relatedId":"s1","context":"disposal","asset":"ETH","qty":"0.002","fiatValue":500}],"policy":{"acquisition":"add_to_basis","disposal":"deduct_from_proceeds","transfer":"expense","failed_tx":"ignore"}}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs