Accounts
public struct Accounts: APIService
-
Retrieve the account info for an address https://docs.lisk.io/docs/lisk-api-080-accounts#section-get-account-information-from-address
Declaration
Swift
public func account(address: String, completionHandler: @escaping (Response<AccountResponse>) -> Void)
-
Retrieve the public key of a Lisk address https://docs.lisk.io/docs/lisk-api-080-accounts#section-get-account-public-key
Declaration
Swift
public func publicKey(address: String, completionHandler: @escaping (Response<PublicKeyResponse>) -> Void)
-
Opens a new/existing Lisk account via secret passphrase https://docs.lisk.io/v1.4/docs/lisk-api-080-accounts#section-get-account-information
Declaration
Swift
public func open(secret: String, completionHandler: @escaping (Response<AccountResponse>) -> Void)
-
Retrieve the balance of a Lisk address https://docs.lisk.io/docs/lisk-api-080-accounts#section-get-account-balance
Declaration
Swift
public func balance(address: String, completionHandler: @escaping (Response<BalanceResponse>) -> Void)
-
Undocumented
See moreDeclaration
Swift
public struct AccountResponse: APIResponse
-
Undocumented
See moreDeclaration
Swift
public struct BalanceResponse: APIResponse
-
Undocumented
See moreDeclaration
Swift
public struct PublicKeyResponse: APIResponse