Babylon

On-chain Data Sources for Babylon Mainnet and Testnet

BabylonEvents

Name: BabylonEvents

Type: list<varies>

Get all events that were emitted in the evaluated block.

Use the generics syntax to specify the type of the returned events (see example). Supported events are described in Babylon Structs.

RelatedBTCDelegationCreatedEvents

Name: RelatedBTCDelegationCreatedEvents

Type: list<EventBTCDelegationCreated>

Get all EventBTCDelegationCreated events that were emitted on Babylon for a given staking/unbonding transaction on Bitcoin.

In gate files that run on non babylon-based chains, this data source defaults to Babylon Mainnet. You can override the chainId (see Cross Chain) to run this on other babylon chains, like Babylon Testnet.

RelatedBTCDelegationUnbondedEarlyEvents

Name: RelatedBTCDelegationUnbondedEarlyEvents

Type: list<EventBTCDelegationUnbondedEarly>

Get all EventBTCDelegationUnbondedEarly events that were emitted on Babylon for a given staking transaction on Bitcoin.

In gate files that run on non babylon-based chains, this data source defaults to Babylon Mainnet. You can override the chainId (see Cross Chain) to run this on other babylon chains, like Babylon Testnet.

RelatedBTCDelegationExpiredEvents

Name: RelatedBTCDelegationExpiredEvents

Type: list<EventBTCDelegationExpired>

Get all EventBTCDelegationExpired events that were emitted on Babylon for a given staking transaction on Bitcoin.

In gate files that run on non babylon-based chains, this data source defaults to Babylon Mainnet. You can override the chainId (see Cross Chain) to run this on other babylon chains, like Babylon Testnet.

RelatedUnexpectedUnbondingTxEvents

Name: RelatedUnexpectedUnbondingTxEvents

Type: list<EventUnexpectedUnbondingTx>

Get all EventUnexpectedUnbondingTx events that were emitted on Babylon for a given staking transaction on Bitcoin.

In gate files that run on non babylon-based chains, this data source defaults to Babylon Mainnet. You can override the chainId (see Cross Chain) to run this on other babylon chains, like Babylon Testnet.

RelatedBTCDelegationStateUpdateEvents

Name: RelatedBTCDelegationStateUpdateEvents

Type: list<EventBTCDelegationStateUpdate>

Get all EventBTCDelegationStateUpdate events that were emitted on Babylon for a given staking transaction on Bitcoin.

In gate files that run on non babylon-based chains, this data source defaults to Babylon Mainnet. You can override the chainId (see Cross Chain) to run this on other babylon chains, like Babylon Testnet.

RelatedSelectiveSlashingEvents

Name: RelatedSelectiveSlashingEvents

Type: list<EventSelectiveSlashing>

Get all EventSelectiveSlashing events that were emitted on Babylon for a given staking transaction on Bitcoin.

In gate files that run on non babylon-based chains, this data source defaults to Babylon Mainnet. You can override the chainId (see Cross Chain) to run this on other babylon chains, like Babylon Testnet.

RelatedBTCDelegationInclusionProofReceivedEvents

Name: RelatedBTCDelegationInclusionProofReceivedEvents

Type: list<EventBTCDelegationInclusionProofReceived>

Get all EventBTCDelegationInclusionProofReceived events that were emitted on Babylon for a given staking transaction on Bitcoin.

In gate files that run on non babylon-based chains, this data source defaults to Babylon Mainnet. You can override the chainId (see Cross Chain) to run this on other babylon chains, like Babylon Testnet.

Last updated