chain

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IChainAdaptor

type IChainAdaptor interface {
	GetSupportChains(req *account.SupportChainsRequest) (*account.SupportChainsResponse, error)
	ConvertAddress(req *account.ConvertAddressRequest) (*account.ConvertAddressResponse, error)
	ValidAddress(req *account.ValidAddressRequest) (*account.ValidAddressResponse, error)
	GetBlockByNumber(req *account.BlockNumberRequest) (*account.BlockResponse, error)
	GetBlockByHash(req *account.BlockHashRequest) (*account.BlockResponse, error)
	GetBlockHeaderByHash(req *account.BlockHeaderHashRequest) (*account.BlockHeaderResponse, error)
	GetBlockHeaderByNumber(req *account.BlockHeaderNumberRequest) (*account.BlockHeaderResponse, error)
	GetAccount(req *account.AccountRequest) (*account.AccountResponse, error)
	GetFee(req *account.FeeRequest) (*account.FeeResponse, error)
	SendTx(req *account.SendTxRequest) (*account.SendTxResponse, error)
	GetTxByAddress(req *account.TxAddressRequest) (*account.TxAddressResponse, error)
	GetTxByHash(req *account.TxHashRequest) (*account.TxHashResponse, error)
	GetBlockByRange(req *account.BlockByRangeRequest) (*account.BlockByRangeResponse, error)
	CreateUnSignTransaction(req *account.UnSignTransactionRequest) (*account.UnSignTransactionResponse, error)
	BuildSignedTransaction(req *account.SignedTransactionRequest) (*account.SignedTransactionResponse, error)
	DecodeTransaction(req *account.DecodeTransactionRequest) (*account.DecodeTransactionResponse, error)
	VerifySignedTransaction(req *account.VerifyTransactionRequest) (*account.VerifyTransactionResponse, error)
	GetExtraData(req *account.ExtraDataRequest) (*account.ExtraDataResponse, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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