Mantle dans TaxChain
BêtaTaxChain lit Mantle et est testé sur ses réponses documentées et enregistrées, mais pas encore rapproché de données réelles. Comparez les chiffres au relevé de Mantle avant de déclarer.
Cette page est en anglais, pour dire exactement ce que disent la documentation de la plateforme et le code de TaxChain. Les titres et le reste du site sont dans votre langue.
Mantle is an EVM chain whose gas coin is MNT. You give TaxChain a 0x address and it reads the address's whole history from Etherscan's API V2: MNT sent and received, the fee of every transaction the address sent, MNT paid to it by contracts, and ERC-20 token transfers, with the wrapped side of wrapping MNT. NFTs are not read.
Modes d'import
Import de fichierPourrait être ajouté
Explorer CSV download
Explorers such as Etherscan offer an address's transactions as a CSV download. TaxChain does not read these files; the address sync reads the same lists and more.
Adresse de portefeuilleBêta
Etherscan API V2, chain id 5000 [1]
A 0x address: 42 characters, 0x followed by 40 hexadecimal digits, in any case. No key or signature is needed; the address is public.
TaxChain reads three lists for the address, oldest first: its transactions [1], its ERC-20 token transfers [2] and the MNT contracts moved for it (internal transactions) [3]. For each transaction the address sent it also reads the receipt [4], for the fee. Each list is paged by block, 1,000 rows at a time, so a history longer than the explorer's 10,000-row window is read in full.
Requests are spaced to the explorer's published limit (3 a second [5]). A rate-limited or failed request is retried with growing pauses; if the explorer keeps refusing, the sync stops with an error rather than store part of the history as if it were all of it.
Etherscan's free plan serves Mantle [6], at 3 requests a second and 100,000 a day for the whole TaxChain server [5].
The explorer also lists NFT transfers (ERC-721 [7] and ERC-1155 [8]). TaxChain does not read them.
Ce qui est lu
| Opération | Statut |
|---|---|
| MNT received and sentPlain transfers in and out. MNT sent into a contract (a swap, a bridge, a deposit into a pool) is a withdrawal. | Lu |
| MNT paid to you by a contractA swap paying out MNT, a withdrawal from a pool or a refund: read from the internal transactions as a deposit. | Lu |
| ERC-20 tokensEvery Transfer of a token into or out of the address. Tokens are told apart by symbol, not by contract, with these exceptions: a token calling itself MNT, the gas coin, is left out, since the gas coin's own movements are read from the transactions; one calling itself a major coin (BTC, ETH, BNB, SOL, XRP, AVAX, MATIC, POL) or a currency (EUR, USD…), or USDC, USDT or EURC, is kept under its symbol and contract (for example USDC@0x…) unless its contract is the official one, so it does not pool with the real asset. Other tokens with a real token's symbol still pool with it. | Lu en partie |
| Spam and address-poisoning tokensImported like any token. Most use look-alike symbols and come in as separate assets with no price. A Transfer "from" your address in a transaction you did not send, of a token you had never received, is left out: no real token can do that, and it was stored as a withdrawal of a token you never held. A token you did hold that leaves in someone else's transaction (a relayed order) is read. | Lu en partie |
| Wrapping MNTWrapping the gas coin into its wrapped token and unwrapping it emit Deposit and Withdrawal, not Transfer [9], so the explorer does not list the wrapped side. TaxChain adds it: a wrap is MNT sent (a withdrawal) and the wrapped token received (a deposit), an unwrap the reverse, two rows as every swap here is. Checked on Ethereum and Avalanche. | Lu |
| DEX swapsRead as a token or coin out (a withdrawal) and another in (a deposit), not as one trade. | Lu en partie |
| Liquidity, lending and vault receiptsLP tokens, aTokens and vault shares minted to you are deposits: acquisitions at that day's value, not income. | Lu en partie |
| Airdrops and reward claimsRead as deposits: acquisitions, not income. Mark them as income where they are. | Lu en partie |
| BridgesThe side leaving this chain is a withdrawal; the side arriving on another chain is a deposit there, if that chain is tracked. Match the two as a transfer. | Lu en partie |
| ApprovalsAn approval moves nothing; only its gas is recorded. | Lu |
| Network feesMantle charges an L2 execution fee and an L1 rollup fee [10], and its recent receipts show an operator fee as well. TaxChain reads each fee from the transaction's receipt [4], by the rule of the era it was sent in: before Mantle v2 (March 2024) gas used × gas price plus the receipt's L1 fee; under Mantle v2, gas used × gas price alone, the L1 fee being charged inside the gas used; since 2026 the OP Stack rule, with the operator fee [11]. On the address checked below the fees recorded come to within 2,800 wei (0.0000000000000028 MNT) of what the chain charged, the gap in eleven transactions of 2023 and early 2024. | Lu |
| NFTs (ERC-721, ERC-1155)MNT or tokens you pay for an NFT, or receive for selling one, are read; the NFT itself is not. | Non lu |
Limites
- Every coin or token you send out is a withdrawal, which the calculation treats as a disposal and lists for review. Mark sends to your own wallets, exchange accounts and bridges as transfers.
- Tokens are identified by symbol, not contract, except that a token calling itself the gas coin is left out and one calling itself a major coin, a currency or a listed stablecoin is kept apart by its contract. Any other fake token with a real token's symbol pools with the real one; delete such rows. Look-alike spam tokens come in unpriced: delete those too.
- Wrapping MNT is read as two rows, MNT out and the wrapped token in (and the reverse to unwrap), each a disposal or an acquisition like a swap's. Mark both sides as a transfer if you treat wrapping as moving nothing.
- Swaps are two separate rows, and tokens minted to you (liquidity, lending and vault receipts, most airdrops) are acquisitions, not income.
- Tokens whose balance grows without a transfer (rebasing tokens) are read only as transferred, so the growth is missing.
- NFTs are not read.
- Each chain is a separate source: an address used on several chains is added once per chain.
- Rows stored by a sync before 21 November 2026 are not rewritten by a new one: a fee, a fake token or a poisoning withdrawal stored earlier stays as it was stored. Remove the source and add it again to read it afresh.
- Mantle is read from Etherscan's API V2 in production. With no Etherscan key in the test checkout, the check below read the same lists and receipts from Routescan's copy of Mantle, in the same format, through the adapter's own code [12].
- Each transaction the address sent costs one more request (its receipt), so a first sync of a busy address takes longer.
Comment cela a été vérifié
- 21 novembre 2026Full history of public address 0xa740d429011cef90858fff9d0ccfd5ae78f2239f (August 2023 to November 2026: 94 transactions with swaps, NFT purchases, staking and approvals, 50 token transfers of 9 tokens, 14 internal transfers), read live through the adapter from Routescan's copy of Mantle, receipts included, up to block 103,527,980: every token reconciles to its balance at that block, and MNT comes to 2.624246852587583057 held against rows 0.0000000000000028 MNT (2,800 wei) higher, where before the fix they were 13.295 MNT higher.
- 21 novembre 2026Each of the 91 transactions that address sent, checked against the balance it lost in its block on Mantle's public node: 52 of Mantle v1 cost gas used × gas price plus the receipt's L1 fee, to the wei, and 11 more by 103 to 1,156 wei, by a rule not found; the 26 of Mantle v2 cost gas used × gas price exactly (adding the receipt's L1 fee would overcharge 0.044 MNT); the 2 of 2026 cost that plus the L1 fee and the operator fee. The rows reproduce all three; the 2,800 wei left over is kept as a failing test.
- 21 novembre 2026One approval measured on its own: the address's balance fell by 0.003719729258511698 MNT in its block; gas used × gas price is 0.0029959059918, the receipt's l1Fee 0.000124643266711698 and the operator fee (gas used × operatorFeeScalar × 100) 0.00059918. The gas row now says 0.003719729258511698.
- 21 novembre 2026The adapter, which reads every EVM chain with the same code, tested against a stubbed explorer that pages as Etherscan does: histories longer than the 10,000-row window, a block with more rows than a page, rate limits, the pace of requests, failures, gas on approvals and reverted transactions, tokens with 0 or more than 20 digits, repeated transfers in one transaction, the paid-plan refusal, fees from receipts by the OP Stack rules, tokens named after the gas coin, a major coin or a stablecoin, and addresses not in 0x form.
Ce qui le rendrait Vérifié
Find the rule behind the 2,800 wei left in eleven fees of Mantle v1 (2023 to March 2024), or accept it as immaterial; then repeat the live check through Etherscan itself, the production path, with a key.
Comment l'ajouter
- Copy your wallet's 0x address from your wallet app (MetaMask, Rabby, a Ledger…). The same address is used on every EVM chain.
- In TaxChain, open Wallets, choose Add source, pick Mantle and paste the address. Repeat for each chain you used.
- After the first sync, check the review list: mark sends to your own wallets, exchange accounts and bridges as transfers, and delete spam and fake tokens.
Références
- [1]Get normal transactions by address. Etherscan.
- [2]Get ERC20 token transfer events by address. Etherscan.
- [3]Get internal transactions by address. Etherscan.
- [4]eth_getTransactionReceipt (Geth/Parity proxy). Etherscan.
- [5]Rate limits. Etherscan. Free plan: 3 calls a second, up to 100,000 a day, selected chains only.
- [6]Supported chains. Etherscan. Base, OP Mainnet, BNB Smart Chain and Avalanche C-Chain: paid tier only.
- [7]Get ERC721 token transfer events by address. Etherscan.
- [8]Get ERC1155 token transfer events by address. Etherscan.
- [9]Wrapped Ether (WETH9) contract source. Etherscan. deposit() and withdraw() emit Deposit and Withdrawal, not Transfer. Most chains' wrapped gas coin is a copy of this contract.
- [10]Fee mechanism. Mantle.
- [11]Jovian: execution engine (operator fee). Optimism. Operator fee = gas × operatorFeeScalar × 100 + operatorFeeConstant; receipts carry daFootprintGasScalar.
- [12]Etherscan-compatible API. Routescan.
Dernière vérification par rapport à la documentation de la plateforme et au code de TaxChain le 21 novembre 2026.