GEB Docs
  • Quick Start
  • GEB Consensus
    • Mother Consensus
    • Sub Consensus(Agere)
  • Learn
    • BitAgere Guide
      • Auditor Reference Concepts
      • Executor Reference Concepts
  • Build
    • Validator
      • Wasm Operation
      • L-BTC Validator Operation
    • BitAgere
      • RelayAgere
      • Agere Auditor
      • Agere Executor
  • Use
    • Wasm Wallet
    • Earn $GEB
      • Stake L-BTC
        • What is L-BTC?
        • Download and Run LND Desk
        • Config LND
        • Node Asset Management
          • Open Channel(Get L-BTC)
          • L-BTC ⇌ BTC (on GEB chain)
        • Stake L-BTC Earn $GEB
      • Stake GEB on Agere
    • Earn $BTC
      • Claim and Other Operations
      • Transfer BTC to EVM
    • Bridge
      • Official Bridge
        • BEVM Mainnet
        • BEVM Canary
      • Third-Party Bridge
        • BEVM Mainnet
          • Swap from EVM to BEVM Mainnet
        • BEVM Canary
          • Swap from EVM to BEVM Canary
          • Other assets
            • Bridge PCX from BEVM Canary to Chainx
      • Transfer(EVM<-->Wasm)
  • EVM Development
    • Fee Calculation
      • GEB Mainnet
      • BEVM Canary
    • Smart Contract
      • Write a Contract
        • Set Up the Metamask Configuration
        • Deploy Smart Contract on GEB Signet
        • Deploy Smart Contract on BEVM Canary
      • Foundry
        • Deploy and verify contract by Foundry
      • Contract Verification (BlockScout)
      • ThirdWeb
    • Integrations
      • Oracle
        • Supra
        • DIA
      • Indexer
        • SubQuery
      • Account Abstraction
        • Particle Network
    • Libraries
      • ethereum-list/chains
      • Wagmi
      • Multicall3
    • Canonical contracts
    • Finality
  • Tokenomics
  • The Journy of GEB
  • Audit Reports
  • Community
Powered by GitBook
On this page
  1. EVM Development

Finality

Typically, it takes 3 blocks (~18 seconds) to be finalized. Considering the potential fluctuations in a PoS network, we provide a more secure method for finality detection.

  1. bevm_isBlockFinalized Parameter: EVM block hash Example:

    curl --location 'https://rpc-mainnet-1.bevm.io' \
    --header 'Content-Type: application/json' \
    --data '{
      "jsonrpc":"2.0",
      "method":"bevm_isBlockFinalized",
      "params":["0x0e5a331fb3cffea6900357a14079eed0e38fbeae633069b831ce124e05b2b0a3"],
      "id":1
    }'
  2. bevm_isTxFinalized Parameter: EVM transaction hash Example:

    curl --location 'https://rpc-mainnet-1.bevm.io' \
    --header 'Content-Type: application/json' \
    --data '{
      "jsonrpc":"2.0",
      "method":"bevm_isTxFinalized",
      "params":["0xc86fe836e177d05399cb31e7a72a37ca40b287ba4f73ba347fbc8adba7fece62"],
      "id":1
    }'
PreviousCanonical contractsNextTokenomics

Last updated 2 months ago