Deposit
Event v101 → current #7Emitted when tokens are deposited into an account.
View events on chainThe Big Picture
Deposits are how new tokens enter your account - primarily from emissions (mining/validating rewards) and staking dividends. Unlike Transfer (which moves existing tokens), Deposit often represents newly created tokens from the emission schedule. This is how you get paid for participating in the network.
Why This Matters
Your earnings on Bittensor arrive as Deposits. If you're mining, validating, or receiving delegation rewards, this event shows each payout. Tracking deposits helps you understand your actual returns and verify you're being paid correctly.
Example Scenario
You're validating on subnet 1. At the end of an epoch, Balances.Deposit fires with your address and 0.5 TAO (500000000 RAO). This is your share of subnet emissions. Over time, these deposits compound into your total earnings.
Common Questions
- How often do deposits happen?
- Depends on the subnet's tempo (emission interval). Some subnets emit every 12 seconds, others every few minutes. Check the subnet's Tempo parameter.
- Why did I get a deposit I didn't expect?
- Could be: emission rewards, delegation dividends, fee refunds, or someone sent you tokens. Check the transaction context to understand the source.
Use Cases
- Track emission rewards hitting your account
- Monitor validator/miner payouts
- Build reward tracking dashboards
- Verify reward distribution accuracy
How to Use This Event
- → Monitor your account for emission deposits
- → Track reward frequency and amounts over time
- → Build income tracking and tax reporting tools
From Chain Metadata
Some amount was deposited (e.g. for transaction fees).
Triggers
Preconditions
- Deposit operation executed
Effects
Postconditions
- Account balance increased
Side Effects
- May affect total issuance
Event Data
Code Examples
import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";
const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });
// Subscribe to Deposit events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("Balances") &&
event.method === "Deposit"
)
.forEach(({ event }) => {
console.log("Deposit:", event.data.toHuman());
});
});On-Chain Activity
Protocol plumbing — fires on nearly every extrinsic
#2 most emitted event
As of block 7,429,232
Runtime Info
- Pallet Index
- 5
- Event Index
- 7
- First Version
- v101
- Current Version
- v393