issue: /#11 network list added
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
03aaf185f7
commit
0ab540e9c0
@ -396,3 +396,31 @@ message GetPublicKeyByNationalIDReq {
|
||||
message GetPublicKeyByNationalIDRes {
|
||||
string pub_key = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
Network Details
|
||||
*/
|
||||
enum NetworkType {
|
||||
UNKNOWN_NETWORK_TYPE = 0;
|
||||
ETH = 1;
|
||||
XLM = 2;
|
||||
BTC = 3;
|
||||
}
|
||||
|
||||
message Network {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
string code = 3;
|
||||
string explorer = 4;
|
||||
int64 gas_asset_id = 5;
|
||||
string description = 6;
|
||||
NetworkType type = 7;
|
||||
bool is_active = 8;
|
||||
|
||||
string updated_at = 9;
|
||||
string created_at = 10;
|
||||
}
|
||||
|
||||
message NetworkList {
|
||||
repeated Network list = 1;
|
||||
}
|
||||
|
||||
@ -13,6 +13,8 @@ service WalletService {
|
||||
rpc AdminGetFederation(GetFederationReq) returns (Federation);
|
||||
rpc UserGetFederation(auth.v1.InternalIAM) returns (Federation);
|
||||
|
||||
rpc GetNetworkList(base.v1.Empty) returns (NetworkList);
|
||||
|
||||
rpc UserGetAssetList(base.v1.Empty) returns (AssetList);
|
||||
rpc AdminGetAssetList(base.v1.Empty) returns (AssetList);
|
||||
rpc GetAsset(GetAssetReq) returns (Asset);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user