Saltar para o conteúdo
Todas as fontes

Solana no TaxChain

Beta

O TaxChain lê Solana e está testado com as suas respostas documentadas e gravadas, mas ainda não foi reconciliado com dados reais. Compare os valores com o extrato de Solana antes de declarar.

Esta página está em inglês, para dizer exatamente o que dizem a documentação da plataforma e o código do TaxChain. Os títulos e o resto do site estão no seu idioma.

TaxChain reads a Solana address from the chain itself, over Solana's JSON-RPC [1]. What the address holds is counted across every account it controls: the address, its token accounts and its native stake accounts. For each transaction TaxChain records how much SOL and how much of each token that whole left or reached, and the network fee when the address paid it, and it reads native staking rewards epoch by epoch. It does not decode what a transaction was, so a swap or a deposit into an app is read as coins out and coins in.

Formas de importar

  • Envio de ficheiroNão disponível

    None

    Solana itself has no export. Block explorers offer downloads of an address's transfers; TaxChain reads none of them. Reading the chain directly gives the same history.

  • Ligação por APIPode ser adicionado

    An indexer that decodes transactions, such as Helius

    Indexers label transactions by kind (swaps, stake operations, compressed NFT transfers) [5]. TaxChain does not use one. It would need an API key held by the operator and its own tests.

  • Endereço da carteiraBeta

    Solana JSON-RPC: Solana's public endpoint unless the operator sets another (SOLANA_RPC_URL)

    A wallet address (base58, 32 to 44 characters). No key or signature is asked for.

    TaxChain lists every signature of the address, of each token account and of each stake account it controls, then reads each transaction's balances before and after [1]. Token accounts are those the address holds now and those its own transactions show it held, so receipts into an account it has since closed are found. Stake accounts are those whose withdraw authority the address is now [2] and those its transactions created, split or withdrew from. Both token programs, SPL Token and Token-2022, are read, and transactions of every version in use, version 1 included [3].

    On Solana's public endpoint TaxChain sends at most one request a second, each carrying at most four calls, to stay inside its limits of 40 calls of one method per 10 seconds [4]. A call the endpoint refuses for its rate limit, or answers that a block is missing from its storage, is sent again on its own, with the calls already answered kept. A long history therefore takes a while on the public endpoint: on 21 Nov 2026 an address with three stake accounts and 15 months of rewards took between 9 and 15 minutes. An operator's own RPC provider is not paced.

    A sync never passes off part of a history as complete. It stops with an error, and the next sync reads the address again, when the endpoint keeps refusing or failing for about two minutes, when it lists a transaction it cannot return, when a transaction is of a version newer than 1, or when a stake account's balance rose by more or less than the rewards read for it. On 21 Nov 2026 two of three live syncs of the staking address below stopped this way on the public endpoint (network errors, then a node missing a reward block that another node had served); the third completed.

O que é lido

OperaçãoEstado
SOL sent and receivedEach transaction's net change in the SOL of the address and the accounts it controls, as a deposit or a withdrawal. SOL moved between them is not a movement.Lido
Network feesThe fee, priority fee included, when the address paid it, as its own withdrawal of SOL. A failed transaction still charges its fee, and it is recorded. A tip sent to a validator is a separate SOL transfer and is read as a withdrawal.Lido
Token transfers (SPL and Token-2022)The net change per token across all the address's token accounts, including accounts it has since closed. The limit: in older transactions whose token balances do not name the account's owner, only token accounts the address still holds are recognised.Lido em parte
Token names21 tokens are named by their mint address: USDC, USDT, EURC, PYUSD, wrapped SOL, stSOL, mSOL, JitoSOL, bSOL, JupSOL, JUP, JTO, PYTH, BONK, WIF, RAY, ORCA, RENDER, HNT, POPCAT and TRUMP, each checked against the chain and Jupiter's verified token list. A token's own name is never trusted, as anyone can call a token USDC. Every other token is named by the first 8 characters of its mint address, which no price source knows, so the calculation stops at a missing price until you give one.Lido em parte
Swaps (Jupiter, Raydium, pump.fun and others)Read as a withdrawal of what was given and a deposit of what was received, not as one swap. Both sides are still taxed: the withdrawal is a disposal at market value and the deposit an acquisition at market value. Do not mark the withdrawal as a transfer.Lido em parte
Wrapped SOLWrapped SOL is SOL. Its token account's lamports, the wrapped SOL and the rent, are counted as the address's SOL, so wrapping and unwrapping move nothing; spending wrapped SOL in a swap is a SOL withdrawal.Lido
Native staking: delegating and withdrawingA stake account whose withdraw authority is the address is the address's own [2]. Moving SOL into it, delegating, deactivating, splitting, merging and withdrawing back move nothing; only the fee is recorded. Handing the withdraw authority to someone else is a withdrawal of the account's SOL; receiving it, a deposit.Lido
Native staking rewardsRewards are paid each epoch into the stake account, outside any transaction [6]. TaxChain reads them per stake account and epoch, as staking income on the day the block that paid them was produced, and checks that they add up to what each stake account gained between its transactions. MEV tips some validators share are paid into stake accounts by a transaction and are read as deposits, not income: mark them as income yourself.Lido
Liquid staking (mSOL, JitoSOL and others)Read as swaps: SOL out, the staking token in. mSOL, stSOL, JitoSOL, bSOL and JupSOL are named; others are named by their mint address and need a price.Lido em parte
Lending, liquidity pools and perpetuals (Kamino, Drift, Jupiter Perps and others)Only the coins that leave or reach the address's accounts are read. A deposit into a protocol is a withdrawal, a disposal; what comes back is a deposit. Interest, fees and profit or loss are not shown as such.Lido em parte
Airdrops and spam tokensTokens sent to you are read as deposits, acquisitions, not as airdrop income: a transaction does not say whether a token was a gift, a payment or your own withdrawal from an exchange. Unsolicited spam tokens and the tiny SOL amounts of address-poisoning transfers are imported too; a spam token with no market stops the calculation at a missing price.Lido em parte
NFTsAn ordinary Solana NFT is a token with one unit and is read as a token named by its mint address. It is not recognised as an NFT and has no price.Lido em parte
Compressed NFTsThey have no token account; they live in a shared data structure [7] that TaxChain does not read.Não lido
Account rentRent set aside in the address's own token or stake account stays the address's SOL and is not a movement; closing the account brings it back, also not a movement. Rent paid to open someone else's account, such as a recipient's token account when you send a token, leaves the address and is a withdrawal.Lido
Moves between your own walletsRead as a withdrawal and a deposit. Mark them as transfers, or the withdrawal counts as a disposal.Lido em parte

Limitações

  • TaxChain does not know what a transaction did beyond staking. Swaps, lending and perpetuals arrive as plain withdrawals and deposits. Read the Coverage list before you file.
  • Most tokens are named by their mint address and have no price until you give one.
  • MEV tips paid into a stake account are read as deposits, not staking income.
  • Every withdrawal counts as a disposal until you mark it as a transfer to a wallet of your own.
  • If you synced a Solana address before 21 Nov 2026, rows stored then were read the old way: staking deposits and withdrawals as sales and purchases, rent as SOL spent, some tokens under their mint address, and no staking rewards. A new sync adds what was missing but does not rewrite those rows. Remove the address and add it again to read it afresh.
  • On Solana's public endpoint a long history syncs slowly (see the way in above).

Como foi verificado

  • 21 de novembro de 2026Full history of public address EkJLrQHYgxKshDV3jejzjTGY3b8XMVA7AfSqhhNfWAtG read live through the fixed adapter with its own transport (one request a second to the keyless public endpoint) and reconciled to what the chain reports the address controls: its SOL plus its five token accounts' lamports, and each token to the unit [8]. The address's history had grown since 20 Nov. The history recorded on 20 Nov replays in the tests to that day's balances.
  • 21 de novembro de 2026Full history of public address DumTBiNmyafVVdsWQKxhAYA3FmWgjnkZcK2vdg6zCArc (40 transactions since April 2025, three stake accounts delegated, every epoch's reward since) read live with the adapter's own transport and reconciled: its SOL plus its stake accounts' lamports, 5.386639002 SOL, equals deposits, withdrawals and 469 epoch rewards to the lamport, each stake account's rewards add up to what it gained between transactions, and the 1.5 SOL delegation of 20 Nov is not a disposal [9]. The sync is recorded and replays in the tests.
  • 21 de novembro de 2026Full history of public address 6RGFrCBmp9NZyzT2qWfNsRH1kKarosy1YKjsRTfEwcLN read live with the adapter's own transport and reconciled: 1 SOL staked and withdrawn within one epoch (no disposal, no acquisition), then spent; its remaining 0.028722320 SOL is the rent of sixteen empty token accounts, which the chain reports as a balance of 0 for the address itself [10]. Recorded and replayed in the tests.
  • 21 de novembro de 2026Recorded mainnet transactions and documented node behaviour through the adapter: a Jupiter swap, a version 1 transaction, receipts into a token account later closed, wrapping SOL into an account the wallet keeps, a node that answers only part of each batch, paging past 1,000 signatures. The four defects found on 20 Nov (version 1 transactions refused, batches resent whole on a rate-limited node, closed token accounts missed, staking read as sales and purchases with rewards missing) are fixed and each has a test that fails with the defect put back.
  • 20 de novembro de 2026Full history of EkJLrQHYgxKshDV3jejzjTGY3b8XMVA7AfSqhhNfWAtG read live, before the fixes, with a test transport that split and paced the adapter's batches: reconciled to its SOL (0.083825944) and five token balances. With the adapter's own batching the sync stopped on rate limits, and an address with a version 1 transaction stopped at once with error -32015.

O que o tornaria Verificado

A real user's Solana history reconciled through the engine, the Phase 8 rule: the three public addresses above prove the reading of balances, fees, tokens and native staking, not a filed year.

Rows stored before 21 Nov 2026 restated, as a new sync does not rewrite them (see the limitations).

MEV tips paid into stake accounts recognised as staking income.

Como adicionar

  • Copy the address from your wallet app (Phantom, Solflare, Backpack, a Ledger account). It is the public address you receive to, not a recovery phrase.
  • In TaxChain, open Wallets, choose Add source, pick Solana and paste the address. Its token and stake accounts are found from it; do not add them separately.
  • When the sync finishes, check each token's balance against your wallet app, give prices to tokens named by their mint address and mark moves between your own wallets as transfers.

Referências

  1. [1]Solana RPC HTTP methods. Solana Foundation. getSignaturesForAddress (newest first, at most 1,000 a call, paged with before), getTransaction (balances before and after, aligned with the account keys), getTokenAccountsByOwner, getProgramAccounts, getMultipleAccounts, getEpochInfo, getBlockTime.
  2. [2]Stake accounts. Solana Foundation. A stake account is controlled by its stake authority and its withdraw authority; only the withdraw authority can take SOL out of it, and rewards are credited to it. getProgramAccounts on the Stake program, filtered on the withdraw authority at byte 44, lists the accounts an address controls.
  3. [3]Larger transaction sizes (transaction v1, SIMD-0385). Solana Foundation. Activated on mainnet at epoch 1035, 15 Sep 2026. getTransaction must be sent maxSupportedTransactionVersion 1, or a v1 transaction is refused with error -32015.
  4. [4]Clusters and public RPC endpoints. Solana Foundation. Public mainnet endpoint limits per IP: 100 requests per 10 seconds, 40 per 10 seconds for a single method, subject to change; not meant for production.
  5. [5]Enhanced Transactions API. Helius. Parsed history with a type per transaction (SWAP, STAKE_SOL, COMPRESSED_NFT_TRANSFER…). Needs an API key; Helius describes it as in maintenance mode.
  6. [6]getInflationReward. Solana Foundation. The reward credited to each given address for an epoch, with the slot it was credited in and the balance after it: staking rewards are credited to stake accounts.
  7. [7]Bubblegum (compressed NFTs). Metaplex. Compressed NFTs are leaves of a Merkle tree, not token accounts, and are read through an indexer's DAS API.
  8. [8]Address EkJLrQHYgxKshDV3jejzjTGY3b8XMVA7AfSqhhNfWAtG. Solana Explorer. Reconciled on 20 and 21 Nov 2026.
  9. [9]Address DumTBiNmyafVVdsWQKxhAYA3FmWgjnkZcK2vdg6zCArc. Solana Explorer. Native staking with three stake accounts; reconciled on 21 Nov 2026.
  10. [10]Address 6RGFrCBmp9NZyzT2qWfNsRH1kKarosy1YKjsRTfEwcLN. Solana Explorer. A stake opened and withdrawn within one epoch; reconciled on 21 Nov 2026.

Última verificação face à documentação da plataforma e ao código do TaxChain em 21 de novembro de 2026.