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 ¶
func ArbGetBlockConfirmations(b EvmBridge, receipt *types.RPCTxReceipt) (uint64, error)
ArbGetBlockConfirmations get block confirmations call getL1Confirmations to 0x00000000000000000000000000000000000000C8
func CfxGetBlockConfirmations ¶
func CfxGetBlockConfirmations(b EvmBridge, receipt *types.RPCTxReceipt) (uint64, error)
CfxGetBlockConfirmations get block confirmations
func CfxGetFinalizedBlockNumber ¶
CfxGetFinalizedBlockNumber call cfx_getBlockByEpochNumber
func KsmGetBlockConfirmations ¶
func KsmGetBlockConfirmations(b EvmBridge, receipt *types.RPCTxReceipt) (uint64, error)
KsmGetBlockConfirmations get block confirmations
func KsmGetFinalizedBlockNumber ¶
KsmGetFinalizedBlockNumber call chain_getFinalizedHead and chain_getHeader
Types ¶
type CfxBlock ¶
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.