Preview Transfer Asset Order

Preview transfer asset order

post

Retrieves a preview of a transfer asset order.

Path parameters
user_uuidstringRequired

UUID of the user

Body
coin_uuidstringOptionalExample: r90e7bc6-2t0d-3sd9-a580-2e29cb8e73e7
nft_uuidstringOptional
to_addressstringRequiredExample: 0x567Ed15BdffEf8732e7e34Ceaa5830e8C54450C8
quantityinteger · int32RequiredExample: 1
notestringOptionalExample: nft transfer
Responses
200
Transfer order previewed successfully
application/json
post
POST /api/v1/user/{user_uuid}/orders/transfer/preview HTTP/1.1
Host: www.developer.metasky.me
Content-Type: application/json
Accept: */*
Content-Length: 159

{
  "coin_uuid": "r90e7bc6-2t0d-3sd9-a580-2e29cb8e73e7",
  "nft_uuid": "",
  "to_address": "0x567Ed15BdffEf8732e7e34Ceaa5830e8C54450C8",
  "quantity": 1,
  "note": "nft transfer"
}
{
  "message": "Transfer details fetched successfully",
  "status": "success",
  "request_id": "7e0c3676-82c9-43dc-8678-61bc4aa7c72c",
  "data": {
    "order_uuid": "ece0711c-9a33-485e-9864-f516a1483084",
    "fees": {
      "type": "network_fees",
      "value": 0.0055,
      "symbol": "ETH",
      "coins_worth": [
        {
          "symbol": "USD",
          "value": 10
        },
        {
          "symbol": "INR",
          "value": 800
        },
        {
          "symbol": "JPY",
          "value": 1500
        }
      ]
    },
    "secure_action_required": true,
    "secure_action_mode": "email",
    "secure_action_identifier": "raider@metasky.ai"
  }
}

Last updated

Was this helpful?