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 Transfer
*/ */
message Recipient {
string recipient = 1;
string recipient_first_name = 2;
string recipient_last_name = 3;
}
message InternalTransferAssetReq { message InternalTransferAssetReq {
auth.v1.InternalIAM iam = 1; auth.v1.InternalIAM iam = 1;
string recipient = 2; Recipient recipient = 2;
string amount = 3; string amount = 3;
int64 network_id = 4; optional int64 network_id = 4;
int64 asset_id = 5; int64 asset_id = 5;
bool approval = 6; optional bool approval = 6;
auth.v1.TFA tfa = 7; auth.v1.TFA tfa = 7;
} }
message InternalTransferAssetRes { message InternalTransferAssetRes {
string recipient = 1; Recipient recipient = 1;
string recipient_first_name = 2; string amount = 2;
string recipient_last_name = 3; string transaction_id = 3;
string amount = 4; string transaction_hash = 4;
string transaction_id = 5;
string transaction_hash = 6;
} }
// represent the information regarding the sale of the token // represent the information regarding the sale of the token