Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.43.1
type Client interface { GetBalance(payload *model.GetBalancePayload) (*resp.GetBalanceResponse, error) BuildTransferTransaction(payload *model.TransferPayload) (*resp.TransferCompletionResponse, error) BuildSimpleTransferTransaction(payload *model.SimpleTransferPayload) (*resp.TransferCompletionResponse, error) BuildAdjustAccountTransaction(*model.BuildAdjustAccountPayload) (*resp.TransferCompletionResponse, error) BuildSudtIssueTransaction(payload *model.BuildSudtIssueTransactionPayload) (*resp.TransferCompletionResponse, error) RegisterAddresses(normalAddresses []string) ([]string, error) GetTransactionInfo(txHash string) (*resp.GetTransactionInfoResponse, error) GetSpentTransactionWithTransactionInfo(*model.GetSpentTransactionPayload) (*resp.TransactionInfoWrapper, error) GetSpentTransactionWithTransactionView(*model.GetSpentTransactionPayload) (*resp.TransactionViewWrapper, error) GetBlockInfo(payload *model.GetBlockInfoPayload) (*resp.BlockInfo, error) GetAccountInfo(payload *model.GetAccountInfoPayload) (*resp.AccountInfo, error) QueryTransactionsWithTransactionInfo(payload *model.QueryTransactionsPayload) (*resp.PaginationResponseTransactionInfo, error) QueryTransactionsWithTransactionView(payload *model.QueryTransactionsPayload) (*resp.PaginationResponseTransactionView, error) GetDbInfo() (*resp.DBInfo, error) GetMercuryInfo() (*resp.MercuryInfo, error) GetSyncState() (*resp.MercurySyncState, error) BuildDaoDepositTransaction(payload *model.DaoDepositPayload) (*resp.TransferCompletionResponse, error) BuildDaoWithdrawTransaction(payload *model.DaoWithdrawPayload) (*resp.TransferCompletionResponse, error) BuildDaoClaimTransaction(payload *model.DaoClaimPayload) (*resp.TransferCompletionResponse, error) }
func DialContext ¶ added in v0.43.1
Click to show internal directories.
Click to hide internal directories.