Ethereum Miner Balance Tracker
The Ethereum Miner Balance Tracker API provides real-time balance updates for Ethereum miners, tracking their mining rewards, uncle block rewards, and transaction fee rewards.
Track Miner Balance Updates
Monitor balance changes for Ethereum miners, including block rewards, uncle block rewards, and transaction fee rewards. Try the API here.
subscription {
EVM(network: eth) {
TransactionBalances(
where: { TokenBalance: { BalanceChangeReasonCode: { in: [1, 2, 5] } } }
) {
Block {
Time
Number
}
TokenBalance {
Currency {
Symbol
}
PreBalance
PostBalance
Address
BalanceChangeReasonCode
PostBalanceInUSD
}
Transaction {
Hash
}
}
}
}
Balance Change Reason Codes for Miners:
- Code 1:
BalanceIncreaseRewardMineUncle- Reward for mining an uncle block - Code 2:
BalanceIncreaseRewardMineBlock- Reward for mining a block - Code 5:
BalanceIncreaseRewardTransactionFee- Transaction tip increasing block builder's balance
Track Block Mining Rewards
Track rewards received by miners for successfully mining blocks: Try the API here.
subscription {
EVM(network: eth) {
TransactionBalances(
where: { TokenBalance: { BalanceChangeReasonCode: { eq: 2 } } }
) {
Block {
Time
Number
}
TokenBalance {
Currency {
Symbol
}
PreBalance
PostBalance
Address
BalanceChangeReasonCode
PostBalanceInUSD
}
Transaction {
Hash
}
}
}
}
Track Uncle Block Rewards
Monitor rewards for mining uncle blocks: Try the API here.
subscription {
EVM(network: eth) {
TransactionBalances(
where: { TokenBalance: { BalanceChangeReasonCode: { eq: 1 } } }
) {
Block {
Time
Number
}
TokenBalance {
Currency {
Symbol
}
PreBalance
PostBalance
Address
BalanceChangeReasonCode
PostBalanceInUSD
}
Transaction {
Hash
}
}
}
}
Track Transaction Fee Rewards
Monitor transaction fee rewards received by miners: Try the API here.
subscription {
EVM(network: eth) {
TransactionBalances(
where: { TokenBalance: { BalanceChangeReasonCode: { eq: 5 } } }
) {
Block {
Time
Number
}
TokenBalance {
Currency {
Symbol
}
PreBalance
PostBalance
Address
BalanceChangeReasonCode
PostBalanceInUSD
}
Transaction {
Hash
}
}
}
}
Filter by Miner Address
Track balance changes for a specific miner address: Try the API here.
subscription {
EVM(network: eth) {
TransactionBalances(
where: {
TokenBalance: {
Address: { is: "0xMinerAddressHere" }
BalanceChangeReasonCode: { in: [1, 2, 5] }
}
}
) {
Block {
Time
Number
}
TokenBalance {
Currency {
Symbol
}
PreBalance
PostBalance
Address
BalanceChangeReasonCode
PostBalanceInUSD
}
Transaction {
Hash
}
}
}
}
Historical Miner Balance Data
Query historical miner balance data for analysis: Try the API here.
{
EVM(dataset: archive, network: eth) {
TransactionBalances(
where: {
TokenBalance: {
Address: { is: "0xMinerAddressHere" }
BalanceChangeReasonCode: { in: [1, 2, 5] }
}
}
limit: { count: 1000 }
) {
Block {
Time
Number
}
TokenBalance {
Currency {
Symbol
}
PreBalance
PostBalance
Address
BalanceChangeReasonCode
PostBalanceInUSD
}
Transaction {
Hash
}
}
}
}