add internal rpc file and LookUpName rpc

This commit is contained in:
2024-12-10 10:34:16 +03:30
parent 88aefe7d13
commit 9d8a2d160a
3 changed files with 25 additions and 8 deletions
+2 -8
View File
@@ -289,15 +289,9 @@ message UserBuyAssetReq {
Transfer
*/
message Recipient {
string id = 1;
optional string first_name = 2;
optional string last_name = 3;
}
message InternalTransferAssetReq {
auth.v1.InternalIAM iam = 1;
Recipient recipient = 2;
auth.v1.Recipient recipient = 2;
double amount = 3;
optional int64 network_id = 4;
int64 asset_id = 5;
@@ -306,7 +300,7 @@ message InternalTransferAssetReq {
}
message InternalTransferAssetRes {
Recipient recipient = 1;
auth.v1.Recipient recipient = 1;
double amount = 2;
string transaction_id = 3;
string transaction_hash = 4;