consensus_getIdentityTransitionProof - Tempo

Example code for the consensus_getIdentityTransitionProof JSON-RPC method. Complete guide on how to use consensus_getIdentityTransitionProof JSON-RPC in GetBlock Web3 documentation.

Returns DKG (Distributed Key Generation) identity transition proofs. Used by light clients and bridges to verify validator set transitions across epochs. By default returns only the most recent transition; pass full=true to walk all transitions back to genesis.

Parameters

Parameter
Type
Required
Description

from_epoch

integer or null

No

Epoch to search from (defaults to latest finalized)

full

boolean or null

No

If true, return all transitions back to genesis; if false or null (default), only the most recent

Request Example

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "consensus_getIdentityTransitionProof",
    "params": [
        null,
        null
    ],
    "id": "getblock.io"
}'

Response Example

Response Parameters

Field
Type
Description

result.identity

string

Hex-encoded BLS public key at the requested epoch

result.transitions

array of IdentityTransition

Transitions ordered newest to oldest

result.transitions[].transitionEpoch

integer

Epoch where the DKG ceremony occurred

result.transitions[].oldIdentity

string

BLS public key before the transition

result.transitions[].newIdentity

string

BLS public key after the transition

result.transitions[].proof

object

Block header + finalization certificate. Omitted for genesis (epoch 0)

Use Cases

  • Light client validator-set verification across epochs

  • Cross-chain bridges proving Tempo validator transitions

  • Audit tools verifying DKG ceremony integrity

Error Handling

Status Code
Error Message
Cause

403

Forbidden

Missing or invalid <ACCESS-TOKEN>

-32602

Invalid params

Request parameters are missing or malformed

-32601

Method not found

Method does not exist or is not enabled on this node

429

Too Many Requests

Rate limit exceeded for your plan

-32601

Method not found

Validator-only method — not exposed on shared infrastructure

SDK Integration

Last updated

Was this helpful?