explorer

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainExplorerAdaptor

type ChainExplorerAdaptor interface {
	// GetChainExplorer 获取链信息
	GetChainExplorer(req *chain.SupportChainExplorerRequest) (*chain.SupportChainExplorerResponse, error)
	// GetAccountBalance 获取账户余额
	GetAccountBalance(req *account.AccountBalanceRequest) (*account.AccountBalanceResponse, error)
	// GetMultiAccountBalance 获取多个账户余额
	GetMultiAccountBalance(req *account.AccountBalanceRequest) ([]*account.AccountBalanceResponse, error)
	// GetAccountUtxo 获取账户utxo
	GetAccountUtxo(req *account.AccountUtxoRequest) ([]account.AccountUtxoResponse, error)
	// GetTxByAddress 根据地址获取交易信息
	GetTxByAddress(request *account.AccountTxRequest) (*account.TransactionResponse[account.AccountTxResponse], error)
	// GetTokenList 获取代币列表
	GetTokenList(request *token.TokenRequest) ([]token.TokenResponse, error)
	// GetEstimateGasFee 获取预估手续费
	GetEstimateGasFee(req *gas_fee.GasEstimateFeeRequest) (*gas_fee.GasEstimateFeeResponse, error)
	// GetTxByHash 根据交易hash获取交易信息
	GetTxByHash(request *transaction.TxRequest) (*transaction.TxResponse, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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