Interface IApSdk
- Namespace
- AkashicPaySDK.Sdk
- Assembly
- AkashicPaySDK.dll
Methods
GetBalanceAsync()
Task<ApBalanceResult?> GetBalanceAsync()
Returns
- Task<ApBalanceResult>
GetDepositAddressAsync(BaseNetworkSymbol, string)
Task<ApDepositAddressResult> GetDepositAddressAsync(BaseNetworkSymbol networkSymbol, string identifier)
Parameters
networkSymbol
BaseNetworkSymbol
identifier
string
Returns
- Task<ApDepositAddressResult>
GetDepositUrlAsync(string)
Task<ApDepositUrlResult> GetDepositUrlAsync(string identifier)
Parameters
identifier
string
Returns
- Task<ApDepositUrlResult>
GetKeysByOwnerAndIdentifierAsync(string)
Task<ApKeysByIdentifierResult> GetKeysByOwnerAndIdentifierAsync(string identifier)
Parameters
identifier
string
Returns
- Task<ApKeysByIdentifierResult>
GetTransactionDetailAsync(string)
Task<ApTransactionDetailResult?> GetTransactionDetailAsync(string l2TxHash)
Parameters
l2TxHash
string
Returns
- Task<ApTransactionDetailResult>
GetTransfersAsync(ApTransactionsParam)
Task<ApTransfersResult> GetTransfersAsync(ApTransactionsParam param)
Parameters
param
ApTransactionsParam
Returns
- Task<ApTransfersResult>
Init()
Returns
- Task
KeyBackup()
Returns
- AcOtk
PayoutAsync(string, string, double, BaseNetworkSymbol)
Task<ApPayoutResult> PayoutAsync(string recipientId, string to, double amount, BaseNetworkSymbol networkSymbol)
Parameters
recipientId
string
to
string
amount
double
networkSymbol
BaseNetworkSymbol
Returns
- Task<ApPayoutResult>
PayoutAsync(string, string, double, BaseNetworkSymbol, ApTokenSymbol)
Task<ApPayoutResult> PayoutAsync(string recipientId, string to, double amount, BaseNetworkSymbol networkSymbol, ApTokenSymbol tokenSymbol)
Parameters
recipientId
string
to
string
amount
double
networkSymbol
BaseNetworkSymbol
tokenSymbol
ApTokenSymbol
Returns
- Task<ApPayoutResult>