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
    }'

Last updated