Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions jsonrpc/src/content/results.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
"$ref": "#/components/schemas/bytes32"
}
},
"BeaconFinalizedStateRootResult": {
"name": "finalizedStateRootResult",
"description": "Returns the hex encoded finalized beacon state root.",
"schema": {
"title": "Hex encoded finalized beacon state root",
"$ref": "#/components/schemas/bytes32"
}
},
"StoreResult": {
"name": "storeResult",
"description": "Returns \"true\" upon success",
Expand Down
8 changes: 8 additions & 0 deletions jsonrpc/src/methods/beacon.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@
"$ref": "#/components/contentDescriptors/PingResult"
}
},
{
"name": "portal_beaconFinalizedStateRoot",
"summary": "Get latest known finalized beacon state root.",
"params": [],
"result": {
"$ref": "#/components/contentDescriptors/BeaconFinalizedStateRootResult"
}
},
{
"name": "portal_beaconFindNodes",
"summary": "Send a FINDNODES request for nodes that fall within the given set of distances, to the designated peer and wait for a response.",
Expand Down