kin-android

kin-android / org.kin.sdk.base.network.api.proto / AgoraKinAccountsApi

AgoraKinAccountsApi

class AgoraKinAccountsApi : GrpcApi, KinAccountApi, KinAccountCreationApi

Constructors

Name Summary
<init> AgoraKinAccountsApi(managedChannel: ManagedChannel)

Functions

Name Summary
createAccount Developers are expected to call their back-end’s to register this address with the main-net Kin Blockchain.fun createAccount(request: CreateAccountRequest, onCompleted: (CreateAccountResponse) -> Unit): Unit
getAccount fun getAccount(request: GetAccountRequest, onCompleted: (GetAccountResponse) -> Unit): Unit
streamAccount fun streamAccount(kinAccountId: Id): Observer<KinAccount>