/
BA
babylonlabs-io
/
Babylon - gRPC Gateway docs
Search skmtc…
⌘K
Changes
Docs
Sign in
Sign in
APIs
1
Docs
History
Schema
Filter operations
Query
68
get
/babylon/btccheckpoint/v1
BtcCheckpointsInfo returns checkpoint info for a range of epochs
get
/babylon/btccheckpoint/v1/params
Parameters queries the parameters of the module.
get
/babylon/btccheckpoint/v1/{epoch_num}
BtcCheckpointInfo returns checkpoint info for a given epoch
get
/babylon/btccheckpoint/v1/{epoch_num}/submissions
EpochSubmissions returns all submissions for a given epoch
get
/babylon/btclightclient/v1/baseheader
BaseHeader returns the base BTC header of the chain. This header is defined on genesis.
get
/babylon/btclightclient/v1/contains
Contains checks whether a hash is maintained by the module.
get
/babylon/btclightclient/v1/containsBytes
ContainsBytes is a temporary method that checks whether a hash is maintained by the module. See discussion at https://github.com/babylonlabs-io/babylon/pull/132 for more details.
get
/babylon/btclightclient/v1/depth/{hash}
HeaderDepth returns the depth of the header in main chain or error if the block is not found or it exists on fork
get
/babylon/btclightclient/v1/hashes
Hashes retrieves the hashes maintained by the module.
get
/babylon/btclightclient/v1/mainchain
MainChain returns the canonical chain
get
/babylon/btclightclient/v1/params
Params queries the parameters of the module.
get
/babylon/btclightclient/v1/tip
Tip return best header on canonical chain
get
/babylon/epoching/v1/current_epoch
CurrentEpoch queries the current epoch
get
/babylon/epoching/v1/delegation_lifecycle/{del_addr}
DelegationLifecycle queries the lifecycle of a given delegation
get
/babylon/epoching/v1/epochs
EpochsInfo queries the metadata of epochs in a given range, depending on the parameters in the pagination request. Th main use case will be querying the latest epochs in time order.
get
/babylon/epoching/v1/epochs/{epoch_num}
EpochInfo queries the information of a given epoch
get
/babylon/epoching/v1/epochs/{epoch_num}/messages
EpochMsgs queries the messages of a given epoch
get
/babylon/epoching/v1/epochs/{epoch_num}/validator_set
EpochValSet queries the validator set of a given epoch
get
/babylon/epoching/v1/epochs:latest/messages
LatestEpochMsgs queries the messages within a given number of most recent epochs
get
/babylon/epoching/v1/params
Params queries the parameters of the module.
get
/babylon/epoching/v1/validator_lifecycle/{val_addr}
ValidatorLifecycle queries the lifecycle of a given validator
get
/babylon/btcstaking/v1/btc_delegation/{staking_tx_hash_hex}
BTCDelegation retrieves delegation by corresponding staking tx hash
get
/babylon/btcstaking/v1/btc_delegations/{status}
BTCDelegations queries all BTC delegations under a given status
get
/babylon/btcstaking/v1/finality_providers
FinalityProviders queries all finality providers
get
/babylon/btcstaking/v1/finality_providers/{fp_btc_pk_hex}/delegations
FinalityProviderDelegations queries all BTC delegations of the given finality provider
get
/babylon/btcstaking/v1/finality_providers/{fp_btc_pk_hex}/finality_provider
FinalityProvider info about one finality provider
get
/babylon/btcstaking/v1/largest_btc_reorg
LargestBtcReOrg retrieves the largest BTC reorg
get
/babylon/btcstaking/v1/params
Parameters queries the parameters of the module.
get
/babylon/btcstaking/v1/params/btc_height/{btc_height}
ParamsByBTCHeight queries the parameters of the module for a specific BTC height
get
/babylon/btcstaking/v1/params/{version}
ParamsByVersion queries the parameters of the module for a specific version of past params.
get
/babylon/btcstaking/v1/params_versions
ParamsVersions queries all the parameters of the module with version.
get
/babylon/finality/v1/activated_height
ActivatedHeight queries the height when BTC staking protocol is activated, i.e., the first height when there exists 1 finality provider with voting power
get
/babylon/finality/v1/blocks
ListBlocks is a range query for blocks at a given status
get
/babylon/finality/v1/blocks/{height}
Block queries a block at a given height
get
/babylon/finality/v1/evidences
ListEvidences queries is a range query for evidences
get
/babylon/finality/v1/finality_providers/{fp_btc_pk_hex}/evidence
Evidence queries the first evidence which can be used for extracting the BTC SK
get
/babylon/finality/v1/finality_providers/{fp_btc_pk_hex}/power
FinalityProviderCurrentPower queries the voting power of a finality provider at the current height
get
/babylon/finality/v1/finality_providers/{fp_btc_pk_hex}/power/{height}
FinalityProviderPowerAtHeight queries the voting power of a finality provider at a given height
get
/babylon/finality/v1/finality_providers/{fp_btc_pk_hex}/pub_rand_commit_list
ListPubRandCommit is a range query for public randomness commitments of a given finality provider
get
/babylon/finality/v1/finality_providers/{fp_btc_pk_hex}/public_randomness_list
ListPublicRandomness is a range query for public randomness of a given finality provider NOTE: Babylon only has the knowledge of public randomness that is already revealed by finality providers, i.e., the finality provider already provides a finality signature at the corresponding height
get
/babylon/finality/v1/finality_providers/{height}
ActiveFinalityProvidersAtHeight queries finality providers with non zero voting power at given height.
get
/babylon/finality/v1/params
Parameters queries the parameters of the module.
get
/babylon/finality/v1/signing_infos
SigningInfos queries the signing info of all the active finality providers
get
/babylon/finality/v1/signing_infos/{fp_btc_pk_hex}
SigningInfo queries the signing info of given finality provider BTC public key
get
/babylon/finality/v1/votes/{height}
VotesAtHeight queries finality providers who have signed the block at given height.
get
/babylon/finality/v1/vp_dst_cache/{height}
VotingPowerDistribution queries the voting power distribution cache Note: The vp dst cache is only kept at the store until that block height is finalized
get
/cosmos/mint/v1beta1/annual_provisions
AnnualProvisions returns the current annual provisions.
get
/cosmos/mint/v1beta1/genesis_time
GenesisTime returns the genesis time.
get
/cosmos/mint/v1beta1/inflation_rate
InflationRate returns the current inflation rate.
get
/babylon/monitor/v1/checkpoints/{ckpt_hash}
ReportedCheckpointBtcHeight returns the BTC light client height at which the checkpoint with the given hash is reported back to Babylon
get
/babylon/monitor/v1/epochs/{epoch_num}
EndedEpochBtcHeight returns the BTC light client height at provided epoch finish
get
/babylon/checkpointing/v1/bls_public_keys/{epoch_num}
BlsPublicKeyList queries a list of bls public keys of the validators at a given epoch number.
get
/babylon/checkpointing/v1/epochs/{epoch_num}/status
EpochStatus queries the status of the checkpoint at a given epoch
get
/babylon/checkpointing/v1/epochs:status_count
RecentEpochStatusCount queries the number of epochs with each status in recent epochs
get
/babylon/checkpointing/v1/last_raw_checkpoint/{status}
LastCheckpointWithStatus queries the last checkpoint with a given status or a more matured status
get
/babylon/checkpointing/v1/raw_checkpoint/{epoch_num}
RawCheckpoint queries a checkpoints at a given epoch number.
get
/babylon/checkpointing/v1/raw_checkpoints
RawCheckpoints queries checkpoints for a epoch range specified in pagination params.
get
/babylon/checkpointing/v1/raw_checkpoints/{status}
RawCheckpointList queries all checkpoints that match the given status.
get
/babylon/incentive/address/{address}/reward_gauge
RewardGauge queries the reward gauge of a given stakeholder address
get
/babylon/incentive/btc_staking_gauge/{height}
BTCStakingGauge queries the BTC staking gauge of a given height
get
/babylon/incentive/delegators/{delegator_address}/withdraw_address
DelegatorWithdrawAddress queries withdraw address of a delegator.
get
/babylon/incentive/finality_providers/{finality_provider_address}/delegators/{delegator_address}/delegation_rewards
DelegationRewards queries the delegation rewards of given finality provider and delegator addresses
get
/babylon/incentive/finality_providers_current_rewards/{finality_provider_address}
FpCurrentRewards queries the finality provider pool of rewards
get
/babylon/incentive/params
Parameters queries the parameters of the module.
get
/babylon/costaking/v1/costakers/{costaker_address}/rewards_tracker
CostakerRewardsTracker queries the costaker reward tracker.
get
/babylon/costaking/v1/current_rewards
CurrentRewards queries the current rewards structure for costaking single pool.
get
/babylon/costaking/v1/historical_rewards/{period}
HistoricalRewards queries the historical rewards structure per period for costaking single pool.
get
/babylon/costaking/v1/params
Params queries the parameters of the module.
Query
Copy Markdown
Copied
Copy failed
Changes to Params queries the parameters of the module.
get
/babylon/btclightclient/v1/params
Jan 18, 2024
6dc0b144a897
Revision changes
○
endpoint added
Apr 28, 2023
85f71cdce9f1
Revision changes
▲
api path removed without deprecation
Ask about this API