Skip to main content

Subgraph Documentation

Builder

Builder:

{
builders(first: 10) {
id,
signer,
balanceStaked,
status,
joinBlock,
exitBlock,
numberOfTopUps,
operational
}
}

Id - ECDSA address of the builder
Signer - Dedicated signer of the builder
balanceStaked - Balance currently staked in the contract by the builder
Status - Current status of the builder:

  • 0 - The builder does not exist in the registry
  • 1 - The builder is registered in the registry
  • 2 - The builder exit is currently pending
  • 3 - the builder has exited the registry
  • 4 - The builder was slashed for violating the PBS rules

joinBlock - The block during which the builder has joined the registry
exitBlock - The block during which the builder has exited the registry
numberOfTopUps - Number of topups executed by the builder Operational - Whether the builder is operational or not (true/false)

Builder Deposit

{
builderDeposits(first: 10) {
id,
builder,
depositor,
amount,
block,
transactionHash
}
}

id - depositor - depositCount
Builder - ECDSA address of the builder for which the deposit transaction is being executed
Depositor - ECDSA address executing the deposit
Amount - Amount of ETH being deposited in wei
Block - Block during which the deposit was executed
transactionHash - Transaction hash during which the deposit took place

Proposer

Proposer

{
proposers(first: 10) {
id,
activationBlock,
exitClaimAmount,
exitBlock,
payoutRecipient,
representative,
status,
reportCount,
openClaim
}
}

Id - BLS public key of the proposer
activationBlock - Block after which the proposer can be activated
exitClaimAmount - Maximum amount available to be claimed upon exit
exitBlock - Block after which the proposer will be eligible to exit
payoutRecipient - ECDSA address where the money collected for PoN pool payments should go
Representative - ECDSA address registering the proposer Status - status of the proposer

  • 0 - The proposer does not exist in the proposer registry
  • 1 - The proposer is registered in the registry
  • 2 - The proposer was activated and is participating in the PoN
  • 3 - The proposer exit is pending
  • 4 - The proposer exited the registry and is no longer active
  • 5 - The proposer got kicked for violating the PBS rules

Payment

payments(first: 10) {
id,
from,
amount,
blockNumber,
transactionHash
}

Id - Transaction sender - Transaction hash concatenation
From - ECDSA address of the payment sender
Amount - Amount of money paid to the payout pool
blockNumber - Block number of the transaction payment
transactionHash - Transaction hash that executed the payment

Reporter

Report

{
reports(first: 10) {
id,
reporter,
builder,
slot,
faultType,
blsKey
}
}

Id - Consensus layer slot for which the report took place
Reporter - ECDSA address of the reporter
Builder - ECDSA address of the builder involved in the report
Slot - Same as id, included for clarity
flautType -

  • 0 - Proposer fault
  • 1 - Builder fault
  • 2 - Proposer Disqualified

blsKey - BLS public key of the proposer involved in the reporting

Reporter

{
reporters(first: 10) {
id,
active,
lastReport,
registrationBlock,
unclaimedReward,
numberOfReports
}
}

Id - ECDSA address of the reporter Active - Boolean status weather the reporter is active or not