Documentation ¶
Index ¶
- func ArbGetBlockConfirmations(b EvmBridge, receipt *types.RPCTxReceipt) (uint64, error)
- func CfxGetBlockConfirmations(b EvmBridge, receipt *types.RPCTxReceipt) (uint64, error)
- func CfxGetFinalizedBlockNumber(b EvmBridge) (latest uint64, err error)
- func KsmGetBlockConfirmations(b EvmBridge, receipt *types.RPCTxReceipt) (uint64, error)
- func KsmGetFinalizedBlockNumber(b EvmBridge) (latest uint64, err error)
- func KsmGetFinalizedHead(urls []string) (result *common.Hash, err error)
- type CfxBlock
- type EvmBridge
- type KsmHeader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArbGetBlockConfirmations ¶ added in v3.6.1
func ArbGetBlockConfirmations(b EvmBridge, receipt *types.RPCTxReceipt) (uint64, error)
ArbGetBlockConfirmations get block confirmations call getL1Confirmations to 0x00000000000000000000000000000000000000C8
func CfxGetBlockConfirmations ¶ added in v3.6.1
func CfxGetBlockConfirmations(b EvmBridge, receipt *types.RPCTxReceipt) (uint64, error)
CfxGetBlockConfirmations get block confirmations
func CfxGetFinalizedBlockNumber ¶ added in v3.6.1
CfxGetFinalizedBlockNumber call cfx_getBlockByEpochNumber
func KsmGetBlockConfirmations ¶ added in v3.6.1
func KsmGetBlockConfirmations(b EvmBridge, receipt *types.RPCTxReceipt) (uint64, error)
KsmGetBlockConfirmations get block confirmations
func KsmGetFinalizedBlockNumber ¶ added in v3.6.1
KsmGetFinalizedBlockNumber call chain_getFinalizedHead and chain_getHeader
Types ¶
type CfxBlock ¶ added in v3.6.1
type CfxBlock struct { Hash *common.Hash `json:"hash"` ParentHash *common.Hash `json:"parentHash"` EpochNumber *hexutil.Big `json:"epochNumber"` BlockNumber *hexutil.Big `json:"blockNumber"` }
CfxBlock struct
Click to show internal directories.
Click to hide internal directories.