add CheckWalletKey rpc #1

Merged
nfel merged 2 commits from wallet into v2 2024-12-07 10:45:04 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit f7729a595b - Show all commits

View File

@ -378,10 +378,10 @@ message RedeemTokenResList {
repeated RedeemTokenRes list = 1; repeated RedeemTokenRes list = 1;
} }
message CheckWalletKeyReq { message GetPublicKeyByNationalIDReq {
string national_id = 1; string national_id = 1;
} }
message CheckWalletKeyRes { message GetPublicKeyByNationalIDRes {
string pub_key = 1; string pub_key = 1;
} }

View File

@ -40,5 +40,5 @@ service WalletService {
rpc RedeemToken(RedeemTokenReq) returns (base.v1.StatusRes); rpc RedeemToken(RedeemTokenReq) returns (base.v1.StatusRes);
rpc RedeemTokenList(auth.v1.ReqWithIAMAndParams) returns (RedeemTokenResList); rpc RedeemTokenList(auth.v1.ReqWithIAMAndParams) returns (RedeemTokenResList);
rpc CheckWalletKey(CheckWalletKeyReq) returns (CheckWalletKeyRes); rpc GetPublicKeyByNationalID(GetPublicKeyByNationalIDReq) returns (GetPublicKeyByNationalIDRes);
} }