public class AccountService extends BaseService
metricsTask| 构造器和说明 |
|---|
AccountService(INetwork client,
TimerTaskManager timerTaskManager,
ClientEnv env)
Instantiates a new Account service.
|
chooseEndpoint, getEnv, getNetwork, queryReceiptAsync, queryReceiptSync, sendAsyncLocalTransaction, sendAsyncLocalTransaction, sendAsyncRequest, sendAsyncRequest, sendAsyncTransaction, sendAsyncTransaction, sendLocalTransaction, sendLocalTransaction, sendSyncRequest, sendSyncRequest, sendSyncTransaction, sendSyncTransaction, signRequest, signRequest, signRequest, signRequestWithZoro, start, stoppublic AccountService(INetwork client, TimerTaskManager timerTaskManager, ClientEnv env)
client - the clientenv - the envpublic CreateAccountResponse createAccount(CreateAccountRequest request)
request - the requestpublic DepositDataResponse depositData(DepositDataRequest request)
public int asyncDepositData(DepositDataRequest request, IAsyncCallback callback)
public DepositDataResponse depositConfidentialData(ConfidentialDepositDataRequest request)
public int asyncDepositConfidentialData(ConfidentialDepositDataRequest request, IAsyncCallback callback)
public int asyncCreateAccount(CreateAccountRequest request, IAsyncCallback callback)
request - the requestcallback - the callbackpublic UpdateEncryptionKeyResponse updateEncryptionKey(UpdateEncryptionKeyRequest request)
request - the requestpublic int asyncUpdateEncryptionKey(UpdateEncryptionKeyRequest request, IAsyncCallback callback)
request - the requestcallback - the callbackpublic SetRecoverKeyResponse setRecoverKey(SetRecoverKeyRequest request)
request - the requestpublic int asyncSetRecoverKey(SetRecoverKeyRequest request, IAsyncCallback callback)
request - the requestcallback - the callbackpublic PreResetPubKeyResponse preResetPubKey(PreResetPubKeyRequest request)
request - the requestpublic int asyncPreResetPubKey(PreResetPubKeyRequest request, IAsyncCallback callback)
request - the requestcallback - the callbackpublic ResetPubKeyResponse resetPublicKey(ResetPubKeyRequest request)
request - the requestpublic int asyncResetPubKey(ResetPubKeyRequest request, IAsyncCallback callback)
request - the requestcallback - the callbackpublic TransferBalanceResponse transferBalance(TransferBalanceRequest request)
request - the requestpublic int asyncTransferBalance(TransferBalanceRequest request, IAsyncCallback callback)
request - the requestcallback - the callbackpublic UpdateAuthMapResponse updateAuthMap(UpdateAuthMapRequest request)
request - the requestpublic int asyncUpdateAuthMap(UpdateAuthMapRequest request, IAsyncCallback callback)
request - the requestcallback - the callbackpublic FreezeAccountResponse freezeAccount(FreezeAccountRequest request)
request - the requestpublic int asyncFreezeAccount(FreezeAccountRequest request, IAsyncCallback callback)
request - the requestcallback - the callbackpublic UnFreezeAccountResponse unFreezeAccount(UnFreezeAccountRequest request)
request - the requestpublic int asyncUnFreezeAccount(UnFreezeAccountRequest request, IAsyncCallback callback)
request - the requestcallback - the callbackpublic RelatedDepositDataResponse relatedDepositData(RelatedDepositDataRequest request)
request - the requestpublic int asyncRelatedDepositData(RelatedDepositDataRequest request, IAsyncCallback callback)
request - the requestcallback - the callbackpublic IssueAssetsResponse issueAssets(IssueAssetsRequest request)
public int asyncIssueAssets(IssueAssetsRequest request, IAsyncCallback callback)
public RedeemAssetsResponse redeemAssets(RedeemAssetsRequest request)
public int asyncRedeemAssets(RedeemAssetsRequest request, IAsyncCallback callback)
Copyright © 2022. All rights reserved.