g4 namespace (finality)¶
PQWERAI BFT finality, Smartnode registry and exact issuance accounting.
3 public methods. Operator, disabled and unsupported methods of this namespace are listed in Operator interfaces. $RPC is your node URL (see quickstart).
| Method | Access | Summary |
|---|---|---|
g4_evidence |
Public · read-only | Lists equivocation evidence (double or surround votes) detected by this node. |
g4_status |
Public · read-only | Finality and issuance accounting: head, justified/finalized checkpoints, registry totals, exact issuance count |
g4_validators |
Public · read-only | Lists Smartnode validators from the registry: id, owner, Ed25519 key, stake, delegated stake, activation epoch |
g4_evidence¶
Lists equivocation evidence (double or surround votes) detected by this node.
| Access | Public · read-only · playground |
| Network | testnet 20778 (local node or approved endpoint); mainnet not available |
| Authentication | none on loopback; bearer token when the node binds a non-loopback address; public proxies rate-limit per IP |
| Minimum software | protocol pqwerai-v8-testnet/1 |
| Verified | source core/source/cmd/pqwerai-core/g4.go:376 at Core bad4a06ea; registered on live CoreGeth/linux-amd64/go1.26.8 |
| Returns | array of objects |
Parameters: none
Errors and edge cases
-32602invalid or missing parameter (e.g.missing value for required argument 0).-32000execution or validation error with a message from the node.
g4_status¶
Finality and issuance accounting: head, justified/finalized checkpoints, registry totals, exact issuance counters and vote-submission counters.
| Access | Public · read-only · playground |
| Network | testnet 20778 (local node or approved endpoint); mainnet not available |
| Authentication | none on loopback; bearer token when the node binds a non-loopback address; public proxies rate-limit per IP |
| Minimum software | protocol pqwerai-v8-testnet/1 |
| Verified | source core/source/cmd/pqwerai-core/g4.go:210 at Core bad4a06ea; registered on live CoreGeth/linux-amd64/go1.26.8 |
| Returns | object |
Behaviour on PQWERAI
PQWERAI finality and issuance accounting. Fields minted_wei, pow_issued_wei, pos_issued_wei, founder_issued_wei and fee_burn_wei are exact counters read from consensus state.
Parameters: none
Recorded 2026-11-28T06:02:45+00:00 at head 3396 on a public testnet, chain 20778. Long arrays are truncated.
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"epoch_set_root": "738681aacb1e6ae6b4ac3d4811b1eeed72fc58dfde06925c9518d022be98efd3",
"epoch_set_size": 8,
"fee_burn_wei": "11238156192",
"finality": true,
"finalized_hash": "0x6084012e9c51853a7f55632b95e5ea31225b0ba478c41040f5d14e1406249485",
"finalized_height": 3360,
"founder_issued_wei": "18296009000000000",
"head": 3398,
"ipfs_issued_wei": "91480045000000000",
"justified_hash": "0xc052d1b3c726e19145e3919c75837f9bda9dceba255f8ebeaa686564b2930929",
"justified_height": 3392,
"liveness_ejected_validators": 0,
"liveness_participation_records": true,
"minted_wei": "1001367829600900000000000",
"pos_issued_wei": "329328162000000000",
"pow_issued_wei": "1225832603000000000",
"registry_locked_gwei": 256000000000,
"registry_slash_burned_gwei": 0,
"rejected_certificates": 3,
"reserve_issued_wei": "164664081000000000",
"validators": 8,
"vote_counters": {
"certificate_regossip_peers": 9,
"forged_or_unauthorized": 58,
"replayed": 71
}
}
}
Errors and edge cases
-32602invalid or missing parameter (e.g.missing value for required argument 0).-32000execution or validation error with a message from the node.
g4_validators¶
Lists Smartnode validators from the registry: id, owner, Ed25519 key, stake, delegated stake, activation epoch and status.
| Access | Public · read-only · playground |
| Network | testnet 20778 (local node or approved endpoint); mainnet not available |
| Authentication | none on loopback; bearer token when the node binds a non-loopback address; public proxies rate-limit per IP |
| Minimum software | protocol pqwerai-v8-testnet/1 |
| Verified | source core/source/cmd/pqwerai-core/g4.go:344 at Core bad4a06ea; registered on live CoreGeth/linux-amd64/go1.26.8 |
| Returns | array of objects |
Parameters: none
Recorded 2026-11-28T06:02:45+00:00 at head 3396 on a public testnet, chain 20778. Long arrays are truncated.
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"activation_epoch": 0,
"delegated_gwei": 0,
"id": "006deec6ad22108132270e180f6d5129ec0c9df957fc5060a610920f89b79eb0",
"key": "4c4eb1b767799e138cc2683e2796dda142149a48bf68fb9605182acc8149fa87",
"last_seen_epoch": 106,
"owner": "0xf586ab6d74a479338dd3dfe0eb00ef47ab6f6469",
"pending_key": false,
"stake_gwei": 32000000000,
"status": "active"
},
{
"activation_epoch": 0,
"delegated_gwei": 0,
"id": "1854f42760eaba4cc5d5646edcc96cb6dc5777d031c729a1592129f63e3bbe11",
"key": "2ff5c73c2f1f952d0f46a9a569a5d129b6f45d714c8a4d2a4f3cea597e72fd84",
"last_seen_epoch": 105,
"owner": "0xfdfe78145ab107960e6f6ef80aed79ff251b8665",
"pending_key": false,
"stake_gwei": 32000000000,
"status": "active"
},
{
"activation_epoch": 0,
"delegated_gwei": 0,
"id": "713dedb75cb0bcb25baa4d76227be7e8de1f2ae753c1d3873d6517bb28d3f698",
"key": "762e147b2f0014059334d0afde366ffc40ffd58fc87c90db7855ee398ea0a3ed",
"last_seen_epoch": 106,
"owner": "0x608706e9e09375b5332b3393466dbcddbac23390",
"pending_key": false,
"stake_gwei": 32000000000,
"status": "active"
},
"... 5 more items"
]
}
Errors and edge cases
-32602invalid or missing parameter (e.g.missing value for required argument 0).-32000execution or validation error with a message from the node.
Sources at 83ff5b69f0 (project repository, not public yet): core/source/cmd/pqwerai-core/g4.go
Found a problem? Report a documentation issue · Build testnet-20778+83ff5b69f0