TaxMaxiTaxMaxi

Solana

Staking

Native staking

SOL locked in a stake account the wallet owns is not transferred: the lots stay. When the account is emptied, what went in comes back as stake returned, and the rest is the reward, income on the day it reached the wallet. The ledger per stake account is kept over the whole history, oldest first.

Fixture 2 of 2

withdraw-stake

8aPo8eCUhqJ1sUaz8fQAKUSMNnj3YNd19gNMVq7gFi7E withdrew 7.172391384 SOL from 3BbmxXS27FKPbJCoD89PFnQzn6AUjpXo9GpMjamt8rQo.

18 Mar 2024 13:34 2Cbrto…7jxu, Helius says Withdraw via Stake program

Movements

What changed hands for the wallet, netted per asset, as the payload says.

DirectionAmountAssetRoleCounterparty
↓ in7.172391384SOLprincipal
↑ out0.000025SOLfee

Legs

What the rules made of the movements: one accounting fact per row, with the rule that read it and how sure it is.

KindAmountAssetCauseRuleConfidenceLabel
unstake+7SOLStake returned from own stake accountstakehigh 100%Withdraw
income+0.172391384SOLStaking rewardstakehigh 100%Withdraw
fee−0.000025SOLTransaction feefeehigh 100%Withdraw

Events, as the German rules receive them

The seam: the legs stripped of everything a chain would recognise, valued in euros on the product, not on this page.

#KindUnitsAssetCounterpart in the transactionProvisional
0unstake7SOLno: left, nothing receivedno
1income0.172391384SOLno: arrived, nothing givenno
2fee0.000025SOLno: left, nothing receivedno
Raw payload
{
  "description": "8aPo8eCUhqJ1sUaz8fQAKUSMNnj3YNd19gNMVq7gFi7E withdrew 7.172391384 SOL from 3BbmxXS27FKPbJCoD89PFnQzn6AUjpXo9GpMjamt8rQo.",
  "type": "WITHDRAW",
  "source": "STAKE_PROGRAM",
  "fee": 25000,
  "feePayer": "8aPo8eCUhqJ1sUaz8fQAKUSMNnj3YNd19gNMVq7gFi7E",
  "signature": "2Cbrto4sqJseir88gLwqBPRg1Rxp8xkeGyCbXDq6xHn1Bd69t787icosZEBsvP88jaH38ExPiZauw2UMW2uu7jxu",
  "slot": 254929262,
  "timestamp": 1710765255,
  "tokenTransfers": [],
  "nativeTransfers": [],
  "accountData": [
    {
      "account": "8aPo8eCUhqJ1sUaz8fQAKUSMNnj3YNd19gNMVq7gFi7E",
      "nativeBalanceChange": 7172366384,
      "tokenBalanceChanges": []
    },
    {
      "account": "3BbmxXS27FKPbJCoD89PFnQzn6AUjpXo9GpMjamt8rQo",
      "nativeBalanceChange": -7172391384,
      "tokenBalanceChanges": []
    },
    {
      "account": "ComputeBudget111111111111111111111111111111",
      "nativeBalanceChange": 0,
      "tokenBalanceChanges": []
    },
    {
      "account": "Stake11111111111111111111111111111111111111",
      "nativeBalanceChange": 0,
      "tokenBalanceChanges": []
    },
    {
      "account": "SysvarC1ock11111111111111111111111111111111",
      "nativeBalanceChange": 0,
      "tokenBalanceChanges": []
    },
    {
      "account": "SysvarStakeHistory1111111111111111111111111",
      "nativeBalanceChange": 0,
      "tokenBalanceChanges": []
    }
  ],
  "transactionError": null,
  "instructions": [
    {
      "accounts": [],
      "data": "3gJqkocMWaMm",
      "programId": "ComputeBudget111111111111111111111111111111",
      "innerInstructions": []
    },
    {
      "accounts": [],
      "data": "Fj2Eoy",
      "programId": "ComputeBudget111111111111111111111111111111",
      "innerInstructions": []
    },
    {
      "accounts": [
        "3BbmxXS27FKPbJCoD89PFnQzn6AUjpXo9GpMjamt8rQo",
        "8aPo8eCUhqJ1sUaz8fQAKUSMNnj3YNd19gNMVq7gFi7E",
        "SysvarC1ock11111111111111111111111111111111",
        "SysvarStakeHistory1111111111111111111111111",
        "8aPo8eCUhqJ1sUaz8fQAKUSMNnj3YNd19gNMVq7gFi7E"
      ],
      "data": "5Nvj7cqr7WM7Guvw",
      "programId": "Stake11111111111111111111111111111111111111",
      "innerInstructions": []
    }
  ],
  "lighthouseData": null,
  "events": {}
}

Loading the letter…