public static interface AccountService.CreateAccountRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Model.Commitment |
getCommitment()
.kin.agora.common.v4.Commitment commitment = 2; |
int |
getCommitmentValue()
.kin.agora.common.v4.Commitment commitment = 2; |
Model.Transaction |
getTransaction()
CreateAccountRequest should be of one of the following forms:
Legacy:
1.
|
boolean |
hasTransaction()
CreateAccountRequest should be of one of the following forms:
Legacy:
1.
|
boolean hasTransaction()
CreateAccountRequest should be of one of the following forms:
Legacy:
1. [Optional] Memo::Memo()
2. SystemProgram::CreateAccount()
3. SplTokenProgram::InitializeAccount()
4. [Optional] SplTokenProgram::SetAuthority()
Standard:
1. [Optional] Memo::Memo()
2. SplAssociateTokenAccount::CreateAssociatedTokenAccount()
3. [Optional] SplTokenProgram::SetAuthority()
The SetAuthority() instruction only needs to be set if the service is
subsidizing the account creation. In that case, a SetAuthority()
instruction must be included that sets the CloseAuthority of
the account to the subsidizer. This is to prevent the farming of Sol
by creating accounts. It should be noted that an account can only
be closed if there is zero kin in the account.
An optional memo may be provided to attribute the account
creation with an app index. This may be used for the KRE.
The memo type should be NONE.
If the parameters are not for the Kin token, or there are
any other instructions, InvalidArgument will be returned.
.kin.agora.common.v4.Transaction transaction = 1;Model.Transaction getTransaction()
CreateAccountRequest should be of one of the following forms:
Legacy:
1. [Optional] Memo::Memo()
2. SystemProgram::CreateAccount()
3. SplTokenProgram::InitializeAccount()
4. [Optional] SplTokenProgram::SetAuthority()
Standard:
1. [Optional] Memo::Memo()
2. SplAssociateTokenAccount::CreateAssociatedTokenAccount()
3. [Optional] SplTokenProgram::SetAuthority()
The SetAuthority() instruction only needs to be set if the service is
subsidizing the account creation. In that case, a SetAuthority()
instruction must be included that sets the CloseAuthority of
the account to the subsidizer. This is to prevent the farming of Sol
by creating accounts. It should be noted that an account can only
be closed if there is zero kin in the account.
An optional memo may be provided to attribute the account
creation with an app index. This may be used for the KRE.
The memo type should be NONE.
If the parameters are not for the Kin token, or there are
any other instructions, InvalidArgument will be returned.
.kin.agora.common.v4.Transaction transaction = 1;int getCommitmentValue()
.kin.agora.common.v4.Commitment commitment = 2;Model.Commitment getCommitment()
.kin.agora.common.v4.Commitment commitment = 2;