Skip to content
All sources

Sonic in TaxChain

Beta

TaxChain reads Sonic and is tested against its documented and recorded responses, but has not yet been reconciled against real data. Check the figures against Sonic's own statement before you file.

Sonic is an EVM chain whose gas coin is S. You give TaxChain a 0x address and it reads the address's whole history from Etherscan's API V2: S sent and received, the fee of every transaction the address sent, S paid to it by contracts, and ERC-20 token transfers, with the wrapped side of wrapping S. NFTs are not read.

Ways in

  • File uploadCould be added

    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.

  • Wallet addressBeta

    Etherscan API V2, chain id 146 [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 S contracts moved for it (internal transactions) [3]. 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 [4]). 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 Sonic [5], at 3 requests a second and 100,000 a day for the whole TaxChain server [4].

    The explorer also lists NFT transfers (ERC-721 [6] and ERC-1155 [7]). TaxChain does not read them.

What is read

ActivityStatus
S received and sentPlain transfers in and out. S sent into a contract (a swap, a bridge, a deposit into a pool) is a withdrawal.Read
S paid to you by a contractA swap paying out S, a withdrawal from a pool or a refund: read from the internal transactions as a deposit.Read
Network feesThe gas of every transaction the address sent, approvals and failed ones included, is a withdrawal of S: gas used × gas price.Read
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 S, 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…) 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. Sonic's stablecoin contracts are not listed, so a fake token calling itself USDC or USDT still pools with the real one, as other look-alikes do.Partly read
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.Partly read
Wrapping SWrapping the gas coin into its wrapped token and unwrapping it emit Deposit and Withdrawal, not Transfer [8], so the explorer does not list the wrapped side. TaxChain adds it: a wrap is S 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.Read
DEX swapsRead as a token or coin out (a withdrawal) and another in (a deposit), not as one trade.Partly read
Liquidity, lending and vault receiptsLP tokens, aTokens and vault shares minted to you are deposits: acquisitions at that day's value, not income.Partly read
Airdrops and reward claimsRead as deposits: acquisitions, not income. Mark them as income where they are.Partly read
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.Partly read
ApprovalsAn approval moves nothing; only its gas is recorded.Read
NFTs (ERC-721, ERC-1155)S or tokens you pay for an NFT, or receive for selling one, are read; the NFT itself is not.Not read

Limitations

  • 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 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 S is read as two rows, S 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.

How it has been checked

  • November 21, 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.

What would make it Verified

No Sonic address has been reconciled yet: Etherscan needs a key, and the test checkout has none. With a key, read a public address's full history with DEX, bridge and wrapping activity and reconcile its S and every token to the chain's balances at the same block, as was done on Avalanche, Ethereum and Mantle.

How to add it

  • 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 Sonic 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.

References

  1. [1]Get normal transactions by address. Etherscan.
  2. [2]Get ERC20 token transfer events by address. Etherscan.
  3. [3]Get internal transactions by address. Etherscan.
  4. [4]Rate limits. Etherscan. Free plan: 3 calls a second, up to 100,000 a day, selected chains only.
  5. [5]Supported chains. Etherscan. Base, OP Mainnet, BNB Smart Chain and Avalanche C-Chain: paid tier only.
  6. [6]Get ERC721 token transfer events by address. Etherscan.
  7. [7]Get ERC1155 token transfer events by address. Etherscan.
  8. [8]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.

Last checked against the platform's documentation and TaxChain's code on November 21, 2026.