Table of Contents

Interface IApSdk

Namespace
AkashicPaySDK.Sdk
Assembly
AkashicPaySDK.dll
public interface IApSdk

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()

Task Init()

Returns

Task

KeyBackup()

AcOtk 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>