add Recipient message

This commit is contained in:
hossein_225 2024-12-09 12:05:30 +03:30
parent e21e98568b
commit 6ecb53aecd

View File

@ -289,23 +289,27 @@ message UserBuyAssetReq {
Transfer
*/
message Recipient {
string recipient = 1;
string recipient_first_name = 2;
string recipient_last_name = 3;
}
message InternalTransferAssetReq {
auth.v1.InternalIAM iam = 1;
string recipient = 2;
Recipient recipient = 2;
string amount = 3;
int64 network_id = 4;
optional int64 network_id = 4;
int64 asset_id = 5;
bool approval = 6;
optional bool approval = 6;
auth.v1.TFA tfa = 7;
}
message InternalTransferAssetRes {
string recipient = 1;
string recipient_first_name = 2;
string recipient_last_name = 3;
string amount = 4;
string transaction_id = 5;
string transaction_hash = 6;
Recipient recipient = 1;
string amount = 2;
string transaction_id = 3;
string transaction_hash = 4;
}
// represent the information regarding the sale of the token