Catchup API
Serves recent consensus state to allow peers to catch up with the network
Types
Account
{
// Account balance in WEI. Serialized as a hex string so as not to exceed the
// range of JSON integers.
"balance": hex,
// Merkle proof justifying "balance" relative to the state commitment.
"proof": {
"account": hex,
"proof":
{ "Presence": MerkleProof },
| { "Absence": MerkleProof }
}
}
}Endpoints
GET /catchup/:height/:view/account/:address
Parameters
Name
Type
Description
Returns Account
POST /catchup/:height/:view/accounts
Parameters
Name
Type
Description
Returns FeeMerkleTree
GET /catchup/:height/:view/blocks
Parameters
Name
Type
Description
Returns MerkleProof
GET /catchup/chain-config/:commitment
Parameters
Name
Type
Description
GET /catchup/:height/leafchain
Parameters
Name
Type
Description
GET /catchup/:height/:view/reward-account/:address
Parameters
Name
Type
Description
Returns Account
POST /catchup/:height/:view/reward-accounts
Parameters
Name
Type
Description
Returns RewardsMerkleTree
Last updated

