JSON-RPC API
qbft
Validators and block production.
BXN uses QBFT consensus. These read-only methods show who validates the chain.
| Method | Returns |
|---|---|
qbft_getValidatorsByBlockNumber | Validator addresses at a block number, or "latest" |
qbft_getSignerMetrics | Blocks proposed by each validator, and the last block each proposed |
Example
curl -s -X POST https://rpc.blackfort.network/mainnet/rpc \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","method":"qbft_getValidatorsByBlockNumber","params":["latest"],"id":1}'{"jsonrpc":"2.0","id":1,"result":["0x08248b7981b8a50673bb71f4375850f6b651fbc8", "..."]}qbft_getSignerMetrics takes an optional start and end block. With no parameters it covers the last 100 blocks.
Voting methods (qbft_proposeValidatorVote, qbft_getPendingVotes) are not enabled on the public endpoints. On BXN, validators are managed by the validator contract.