Staking Withdrawals vs Rewards in Data Reports
Separate staking principal returns, rewards and execution-account receipts so a withdrawal does not automatically become newly earned income.

Overview
When translating these concepts into an integration, keep the scope described by the wallet history api with the result. The examples in wallet transaction history and smart contract event logs show how the same distinction affects neighbouring data questions.
A withdrawal into a wallet can contain value with different origins. The technical receipt of funds does not, by itself, establish which portion is returned principal or earned reward.
Follow the staking lifecycle
Track deposits or stake commitments, validator or position identity, accrued rewards and withdrawals under the network’s rules. Protocol-level withdrawals may not look like ordinary user-signed transfers. Preserve the evidence type instead of forcing every received amount into the same transaction schema.
Worked example: principal plus accumulated value
A simplified position commits thirty-two units and later returns thirty-three. The receipt of thirty-three is not evidence that all thirty-three were earned during the withdrawal period. Explaining the one-unit difference requires the earlier position and reward history, with fees or penalties handled according to the actual mechanism.
Report what is established
Keep withdrawal amount, known principal and reward interpretation separately. Test partial withdrawals, penalties and missing opening history. When evidence cannot split the components, report the received amount with an unresolved composition. Do not infer tax timing from a transfer record alone; retain technical inputs for the relevant accounting policy.
A practical acceptance test
Use a thirty-two-unit commitment followed by a thirty-three-unit withdrawal with incomplete reward history. Assert the observed receipt but do not label all thirty-three as earned reward. Provide additional principal and reward evidence in a second case and verify the split. Accounting classification must remain a separate policy output rather than a hard-coded chain-transfer label.
Questions about the topic
Frequently asked questions
Is every staking withdrawal entirely a reward?
No. It can include returned principal.
Can all withdrawals be found as ordinary transactions?
Not necessarily; networks can expose protocol-level withdrawal evidence.
Standards & technical documentation