callapi

package
v3.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KsmGetFinalizedHead

func KsmGetFinalizedHead(url string) (result common.Hash, err error)

KsmGetFinalizedHead call chain_getFinalizedHead

func KsmGetLatestBlockNumberOf

func KsmGetLatestBlockNumberOf(url string, gateway *tokens.GatewayConfig) (latest uint64, err error)

KsmGetLatestBlockNumberOf get latest block number

Types

type KsmHeader

type KsmHeader struct {
	ParentHash *common.Hash `json:"parentHash"`
	Number     *hexutil.Big `json:"number"`
}

KsmHeader struct

func KsmGetHeader

func KsmGetHeader(blockHash string, gateway *tokens.GatewayConfig) (result *KsmHeader, err error)

KsmGetHeader call chain_getHeader

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL