diff --git a/wallet/v1/msg.proto b/wallet/v1/msg.proto index 6f6cdcb..b24ff8c 100644 --- a/wallet/v1/msg.proto +++ b/wallet/v1/msg.proto @@ -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