fisco_bcos

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FiscoBcosClient

type FiscoBcosClient struct {
	client.Client
}

func NewFiscoBcosClient

func NewFiscoBcosClient(config *config.Config) (*FiscoBcosClient, error)

func (*FiscoBcosClient) EventQuery

func (c *FiscoBcosClient) EventQuery() (*eventres.QueryEventResData, error)

EventQuery query fisco bcos event list

func (*FiscoBcosClient) EventRegister

EventRegister register fisco bcos transaction or block event listeners

func (*FiscoBcosClient) EventRemove

EventRemove remove fisco bcos event

func (*FiscoBcosClient) GetBlockHeight

func (c *FiscoBcosClient) GetBlockHeight() (*noderes.BlockHeightResData, error)

GetBlockHeight query fisco bcos block height

func (*FiscoBcosClient) GetBlockInfo

GetBlockInfo query fisco bcos block data

func (*FiscoBcosClient) GetTxCount

func (c *FiscoBcosClient) GetTxCount() (*noderes.BlockHeightResData, error)

GetTxCount query fisco bcos total number of transactions in Dapp

func (*FiscoBcosClient) GetTxCountByBlockNumber

func (c *FiscoBcosClient) GetTxCountByBlockNumber(blockNumber int64) (*noderes.BlockHeightResData, error)

GetTxCountByBlockNumber query fisco bcos total number of transactions in block

func (*FiscoBcosClient) GetTxInfoByTxHash

func (c *FiscoBcosClient) GetTxInfoByTxHash(body nodereq.TxReqDataBody) (*noderes.BlockTxResData, error)

GetTxCountByBlockNumber query fisco bcos transactions info

func (*FiscoBcosClient) GetTxReceiptByTxHash

func (c *FiscoBcosClient) GetTxReceiptByTxHash(body nodereq.TxReqDataBody) (*noderes.BlockTxReceiptResData, error)

GetTxCountByBlockNumber query fisco bcos transactions receipt

func (*FiscoBcosClient) RegisterUser

RegisterUser register sub user

func (*FiscoBcosClient) ReqChainCode

ReqChainCode Dapp transaction in public key trust mode

func (*FiscoBcosClient) Trans

Trans Dapp transaction in key upload mode

Jump to

Keyboard shortcuts

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