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