improve InternalTransferAsset rpc
This commit is contained in:
+14
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user