v1

latestOpenAPI 3.0.32026-07-26184851.6 MB
Withdraw

Master Wallet Network Fee

This API endpoint is used to get the withdrawal network fee from a specific wallet.

Body Parameters

KeyRequiredTypeDescription
assetIdtrue*string (UUID)The ID of the asset to withdraw. Required if assets array is not provided.
addresstrue*stringThe destination wallet address for the withdrawal. Required if assets array is not provided.
amounttrue*stringThe withdrawal amount. Must be greater than 0. Required if assets array is not provided.
referencefalsestringAn optional reference note for the withdrawal.
notefalsestringA short message or internal remark to associate with this withdrawal. Not visible on-chain.
metadatafalseobjectOptional metadata (key-value pairs) for additional transaction details.
post/v1/wallets/{walletId}/withdraw/network-fee

Request body

Example request

{
  "assets": [
    {
      "address": "0xRecipient1Address",
      "amount": "10.5",
      "id": "{{assetId1}}"
    },
    {
      "address": "0xRecipient2Address",
      "amount": "25.0",
      "id": "{{assetId2}}"
    }
  ]
}

Response

Withdraw / Withdraw (Batch)

messagestring
statusCodenumber

Example response

{
  "data": {
    "errors": [],
    "estimatedArrivalTime": 60,
    "fees": [
      {
        "address": "0x8636d866C022abA90AAE13c8fE1De95dFc8Cb701",
        "amount": "0.1",
        "assetId": "ae455f23-3824-4125-baab-d158315cbcbd",
        "estimatedArrivalTime": 30,
        "index": 0,
        "networkFee": "0.00001247904",
        "transactionFee": "0"
      },
      {
        "address": "0x8636d866C022abA90AAE13c8fE1De95dFc8Cb701",
        "amount": "0.002",
        "assetId": "98582300-2f1d-4ef4-99f2-4361319fc776",
        "estimatedArrivalTime": 30,
        "index": 1,
        "networkFee": "0.00000504",
        "transactionFee": "0"
      }
    ],
    "nativeBalance": "0.04998428208321722",
    "nativeBalanceInUSD": "4950.00",
    "networkFee": "0.000000021112014",
    "totalNetworkFee": "0.00001751904",
    "totalNetworkFeeInUSD": "0.0158202186912",
    "totalTransactionFee": "0"
  },
  "message": "Network fee fetched successfully",
  "statusCode": 200
}