BIFROST Network
  • Introduction
  • Bifrost Network Architecture
    • Consensus
    • Cross-Chain Communication Protocol (CCCP)
    • Oracle Service
  • Running a Node
    • Basic-Node Requirements
    • Full-Node Requirements
    • Validator Account Management
    • Guide for Operators
      • Setting up an Endpoint Node
        • Using Docker
        • Using Systemd
      • Setting up a Validator Node
        • Using Docker
        • Using Systemd
      • Setting up a Relayer
        • bifrost-relayer.rs
        • bifrost-relayer.py (Deprecated)
      • Chain Data Snapshots
      • Trouble Shooting
        • Testnet Chain Sync Issue
    • System Monitoring
      • Prometheus and Grafana
      • Sentry
  • Nominators
  • Developer Documentations
    • Ethereum API
      • Ethereum Precompiled Contracts
      • Libraries
      • Developer Environments
    • Bifrost Precompiled Contracts
      • Staking
      • Governance
      • RelayManager
    • Pallet Interfaces
      • BfcStaking
      • BfcUtility
      • BfcOffences
      • RelayManager
    • Client API
      • JSON-RPC API
        • author
        • chain
        • childstate
        • debug
        • eth
        • grandpa
        • net
        • offchain
        • payment
        • rpc
        • state
        • system
        • trace
        • txpool
        • web3
      • Explorer API
      • Runtime API
    • Cross-Chain Transaction and Oracle API
      • Price Oracle Contract API
      • Socket Contract API
    • Testnet Faucet
  • Governance
  • Security
  • Tokens & Assets
    • Unified Token
    • Inflation Model
  • Add Network
    • Pockie
    • MetaMask
  • Bridge
    • Bridge Guide
      • Depositing to the Bifrost Network
      • Withdrawing to another network
    • Glossary
  • Staking
    • Staking Guide
      • Stake BFC
      • Unstake BFC
    • Glossary
      • All Validators
      • My Staking Status
  • Language
    • 바이프로스트 네트워크 가이드
Powered by GitBook
On this page
  • proveFinality(blockNumber: BlockNumber): Option<EncodedFinalityProofs>
  • roundState(): ReportedRoundStates
  • subscribeJustifications(): JustificationNotification
  1. Developer Documentations
  2. Client API
  3. JSON-RPC API

grandpa

proveFinality(blockNumber: BlockNumber): Option<EncodedFinalityProofs>

  • interface: api.rpc.grandpa.proveFinality

  • jsonrpc: grandpa_proveFinality

  • summary: Proves finality for the given block number, returning the Justification for the last block in the set.

roundState(): ReportedRoundStates

  • interface: api.rpc.grandpa.roundState

  • jsonrpc: grandpa_roundState

  • summary: Returns the state of the current best round state as well as the ongoing background rounds.

subscribeJustifications(): JustificationNotification

  • interface: api.rpc.grandpa.subscribeJustifications

  • jsonrpc: grandpa_subscribeJustifications

  • summary: Subscribes to grandpa justifications.

PreviousethNextnet

Last updated 2 years ago