Expand description
Axum REST handlers derived from the google.api.http annotations, transcoding
HTTP/JSON onto the tonic service traits.
Constantsยง
- PUBLIC_
REST_ PATHS - REST paths that are marked as public (no authentication required).
Functionsยง
- all_
rest_ routes - Build a combined Axum router with REST routes for all proto services.
- availability_
service_ rest_ router - Build Axum REST routes for
AvailabilityService. - catchup_
service_ rest_ router - Build Axum REST routes for
CatchupService. - config_
service_ rest_ router - Build Axum REST routes for
ConfigService. - database_
service_ rest_ router - Build Axum REST routes for
DatabaseService. - explorer_
service_ rest_ router - Build Axum REST routes for
ExplorerService. - light_
client_ service_ rest_ router - Build Axum REST routes for
LightClientService. - merklized_
state_ service_ rest_ router - Build Axum REST routes for
MerklizedStateService. - node_
service_ rest_ router - Build Axum REST routes for
NodeService. - rest_
availability_ ๐service_ get_ block GetBlock- JSON endpoint.- rest_
availability_ ๐service_ get_ block_ range GetBlockRange- JSON endpoint.- rest_
availability_ ๐service_ get_ block_ ranges GetBlockRanges- JSON endpoint.- rest_
availability_ ๐service_ get_ block_ summary GetBlockSummary- JSON endpoint.- rest_
availability_ ๐service_ get_ block_ summary_ range GetBlockSummaryRange- JSON endpoint.- rest_
availability_ ๐service_ get_ cert2 GetCert2- JSON endpoint.- rest_
availability_ ๐service_ get_ header GetHeader- JSON endpoint.- rest_
availability_ ๐service_ get_ header_ range GetHeaderRange- JSON endpoint.- rest_
availability_ ๐service_ get_ incorrect_ encoding_ proof GetIncorrectEncodingProof- JSON endpoint.- rest_
availability_ ๐service_ get_ leaf GetLeaf- JSON endpoint.- rest_
availability_ ๐service_ get_ leaf_ range GetLeafRange- JSON endpoint.- rest_
availability_ ๐service_ get_ leaf_ ranges GetLeafRanges- JSON endpoint.- rest_
availability_ ๐service_ get_ limits GetLimits- JSON endpoint.- rest_
availability_ ๐service_ get_ namespace_ proof GetNamespaceProof- JSON endpoint.- rest_
availability_ ๐service_ get_ namespace_ proof_ range GetNamespaceProofRange- JSON endpoint.- rest_
availability_ ๐service_ get_ payload GetPayload- JSON endpoint.- rest_
availability_ ๐service_ get_ payload_ range GetPayloadRange- JSON endpoint.- rest_
availability_ ๐service_ get_ state_ cert GetStateCert- JSON endpoint.- rest_
availability_ ๐service_ get_ state_ cert_ v2 GetStateCertV2- JSON endpoint.- rest_
availability_ ๐service_ get_ transaction GetTransaction- JSON endpoint.- rest_
availability_ ๐service_ get_ transaction_ proof GetTransactionProof- JSON endpoint.- rest_
availability_ ๐service_ get_ vid_ common GetVidCommon- JSON endpoint.- rest_
availability_ ๐service_ get_ vid_ common_ range GetVidCommonRange- JSON endpoint.- rest_
availability_ ๐service_ get_ vid_ common_ ranges GetVidCommonRanges- JSON endpoint.- rest_
availability_ ๐service_ stream_ blocks StreamBlocks- SSE streaming endpoint.- rest_
availability_ ๐service_ stream_ headers StreamHeaders- SSE streaming endpoint.- rest_
availability_ ๐service_ stream_ leaves StreamLeaves- SSE streaming endpoint.- rest_
availability_ ๐service_ stream_ namespace_ proofs StreamNamespaceProofs- SSE streaming endpoint.- rest_
availability_ ๐service_ stream_ payloads StreamPayloads- SSE streaming endpoint.- rest_
availability_ ๐service_ stream_ transactions StreamTransactions- SSE streaming endpoint.- rest_
availability_ ๐service_ stream_ vid_ common StreamVidCommon- SSE streaming endpoint.- rest_
catchup_ ๐service_ get_ catchup_ blocks_ frontier GetCatchupBlocksFrontier- JSON endpoint.- rest_
catchup_ ๐service_ get_ catchup_ cert2 GetCatchupCert2- JSON endpoint.- rest_
catchup_ ๐service_ get_ catchup_ chain_ config GetCatchupChainConfig- JSON endpoint.- rest_
catchup_ ๐service_ get_ catchup_ fee_ account GetCatchupFeeAccount- JSON endpoint.- rest_
catchup_ ๐service_ get_ catchup_ fee_ accounts GetCatchupFeeAccounts- JSON endpoint.- rest_
catchup_ ๐service_ get_ catchup_ leaf_ chain GetCatchupLeafChain- JSON endpoint.- rest_
catchup_ ๐service_ get_ catchup_ reward_ account GetCatchupRewardAccount- JSON endpoint.- rest_
catchup_ ๐service_ get_ catchup_ reward_ account_ v2 GetCatchupRewardAccountV2- JSON endpoint.- rest_
catchup_ ๐service_ get_ catchup_ reward_ accounts GetCatchupRewardAccounts- JSON endpoint.- rest_
catchup_ ๐service_ get_ catchup_ reward_ merkle_ tree_ v2 GetCatchupRewardMerkleTreeV2- JSON endpoint.- rest_
catchup_ ๐service_ get_ catchup_ state_ cert GetCatchupStateCert- JSON endpoint.- rest_
config_ ๐service_ get_ env GetEnv- JSON endpoint.- rest_
config_ ๐service_ get_ hotshot_ config GetHotshotConfig- JSON endpoint.- rest_
config_ ๐service_ get_ runtime_ config GetRuntimeConfig- JSON endpoint.- rest_
database_ ๐service_ get_ migration_ status GetMigrationStatus- JSON endpoint.- rest_
database_ ๐service_ get_ table_ sizes GetTableSizes- JSON endpoint.- rest_
explorer_ ๐service_ get_ explorer_ block_ detail GetExplorerBlockDetail- JSON endpoint.- rest_
explorer_ ๐service_ get_ explorer_ block_ summaries GetExplorerBlockSummaries- JSON endpoint.- rest_
explorer_ ๐service_ get_ explorer_ search GetExplorerSearch- JSON endpoint.- rest_
explorer_ ๐service_ get_ explorer_ summary GetExplorerSummary- JSON endpoint.- rest_
explorer_ ๐service_ get_ explorer_ transaction_ detail GetExplorerTransactionDetail- JSON endpoint.- rest_
explorer_ ๐service_ get_ explorer_ transaction_ summaries GetExplorerTransactionSummaries- JSON endpoint.- rest_
light_ ๐client_ service_ get_ light_ client_ header_ proof GetLightClientHeaderProof- JSON endpoint.- rest_
light_ ๐client_ service_ get_ light_ client_ leaf_ proof GetLightClientLeafProof- JSON endpoint.- rest_
light_ ๐client_ service_ get_ light_ client_ namespace_ proof GetLightClientNamespaceProof- JSON endpoint.- rest_
light_ ๐client_ service_ get_ light_ client_ namespace_ proof_ range GetLightClientNamespaceProofRange- JSON endpoint.- rest_
light_ ๐client_ service_ get_ light_ client_ namespaces_ proof_ range GetLightClientNamespacesProofRange- JSON endpoint.- rest_
light_ ๐client_ service_ get_ light_ client_ payload_ proof GetLightClientPayloadProof- JSON endpoint.- rest_
light_ ๐client_ service_ get_ light_ client_ payload_ proof_ range GetLightClientPayloadProofRange- JSON endpoint.- rest_
light_ ๐client_ service_ get_ light_ client_ payload_ proof_ ranges GetLightClientPayloadProofRanges- JSON endpoint.- rest_
light_ ๐client_ service_ get_ light_ client_ stake_ table GetLightClientStakeTable- JSON endpoint.- rest_
merklized_ ๐state_ service_ get_ block_ state_ path GetBlockStatePath- JSON endpoint.- rest_
merklized_ ๐state_ service_ get_ fee_ state_ path GetFeeStatePath- JSON endpoint.- rest_
merklized_ ๐state_ service_ get_ latest_ fee_ balance GetLatestFeeBalance- JSON endpoint.- rest_
merklized_ ๐state_ service_ get_ state_ height GetStateHeight- JSON endpoint.- rest_
node_ ๐service_ get_ all_ validators GetAllValidators- JSON endpoint.- rest_
node_ ๐service_ get_ block_ reward GetBlockReward- JSON endpoint.- rest_
node_ ๐service_ get_ header_ window GetHeaderWindow- JSON endpoint.- rest_
node_ ๐service_ get_ node_ block_ height GetNodeBlockHeight- JSON endpoint.- rest_
node_ ๐service_ get_ node_ limits GetNodeLimits- JSON endpoint.- rest_
node_ ๐service_ get_ payload_ size GetPayloadSize- JSON endpoint.- rest_
node_ ๐service_ get_ proposal_ participation GetProposalParticipation- JSON endpoint.- rest_
node_ ๐service_ get_ stake_ table GetStakeTable- JSON endpoint.- rest_
node_ ๐service_ get_ sync_ status GetSyncStatus- JSON endpoint.- rest_
node_ ๐service_ get_ transaction_ count GetTransactionCount- JSON endpoint.- rest_
node_ ๐service_ get_ validators GetValidators- JSON endpoint.- rest_
node_ ๐service_ get_ vid_ share GetVidShare- JSON endpoint.- rest_
node_ ๐service_ get_ vote_ participation GetVoteParticipation- JSON endpoint.- rest_
reward_ ๐state_ service_ get_ reward_ account_ proof GetRewardAccountProof- JSON endpoint.- rest_
reward_ ๐state_ service_ get_ reward_ amounts GetRewardAmounts- JSON endpoint.- rest_
reward_ ๐state_ service_ get_ reward_ balance GetRewardBalance- JSON endpoint.- rest_
reward_ ๐state_ service_ get_ reward_ claim_ input GetRewardClaimInput- JSON endpoint.- rest_
reward_ ๐state_ service_ get_ reward_ merkle_ tree_ v2 GetRewardMerkleTreeV2- JSON endpoint.- rest_
state_ ๐signature_ service_ get_ state_ signature GetStateSignature- JSON endpoint.- rest_
status_ ๐service_ get_ block_ height GetBlockHeight- JSON endpoint.- rest_
status_ ๐service_ get_ node_ keys GetNodeKeys- JSON endpoint.- rest_
status_ ๐service_ get_ success_ rate GetSuccessRate- JSON endpoint.- rest_
status_ ๐service_ get_ time_ since_ last_ decide GetTimeSinceLastDecide- JSON endpoint.- rest_
submit_ ๐service_ submit_ transaction SubmitTransaction- JSON endpoint.- rest_
token_ ๐service_ get_ circulating_ supply GetCirculatingSupply- JSON endpoint.- rest_
token_ ๐service_ get_ circulating_ supply_ ethereum GetCirculatingSupplyEthereum- JSON endpoint.- rest_
token_ ๐service_ get_ total_ issued_ supply GetTotalIssuedSupply- JSON endpoint.- rest_
token_ ๐service_ get_ total_ minted_ supply GetTotalMintedSupply- JSON endpoint.- rest_
token_ ๐service_ get_ total_ reward_ distributed GetTotalRewardDistributed- JSON endpoint.- reward_
state_ service_ rest_ router - Build Axum REST routes for
RewardStateService. - state_
signature_ service_ rest_ router - Build Axum REST routes for
StateSignatureService. - status_
service_ rest_ router - Build Axum REST routes for
StatusService. - submit_
service_ rest_ router - Build Axum REST routes for
SubmitService. - token_
service_ rest_ router - Build Axum REST routes for
TokenService.