(XChain) Create Account

rpc CreateAccount (CreateAccountRequest) returns (CreateAccountReply) {}

API parameters #

Required #

message CreateAccountRequest {
    string name = 1;
}
NameTypeDescription
namestringthe nick name for the acccount to be created, in newbridge, this is the user’s recipient address of another chain

Response #

message CreateAccountReply {
    string name = 1;
    string address = 2; // the address to deposit
}
NameTypeDescription
namestringthe nick name for the acccount to be created, in newbridge, this is the user’s recipient address of another chain
addressstringthe address of current chain
(XChain) Create Account was last edited on 2021-01-13 @16a6725 : update formatting