improve InternalTransferAsset rpc

This commit is contained in:
2024-12-09 11:56:34 +03:30
parent 3779679504
commit 8e64e1ca1f
3 changed files with 23 additions and 9 deletions
+14 -8
View File
@@ -289,17 +289,23 @@ message UserBuyAssetReq {
Transfer
*/
message UserTransferAssetReq {
message InternalTransferAssetReq {
auth.v1.InternalIAM iam = 1;
int64 asset_id = 2;
double amount = 3;
string to_wallet_address = 4;
string to_wallet_memo = 5;
string recipient = 2;
string amount = 3;
int64 network_id = 4;
int64 asset_id = 5;
bool approval = 6;
auth.v1.Otp otp = 7;
}
message UserTransferRes {
int64 transaction_id = 1;
string tracking_code = 2;
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;
}
// represent the information regarding the sale of the token