v1

latestOpenAPI 3.0.32026-07-26184851.6 MB
Asset Recovery

Network Fee

Calculates and returns the estimated network fee for a potential asset recovery transaction.

Body Parameters

KeyRequiredTypeDescription
senderAddresstruestringThe address you're recovering assets from
recipientAddresstruestringThe address the recovering assets will be sent to
amounttruestringThe amount to be salvaged.
tokenAddressfalsestringSpecify this for token salvage
blockchainIdtruestringThe blockchain id you're recovering funds from
rpcUrlfalsestringSpecify this for assets on an unsupported blockchain
isL2falsebooleanSpecify this if RPC url points to a Layer 2 blockchain
crossNetworkfalsebooleanSet to true to estimate fees for cross-network recovery. Cannot be used with rpcUrl.
post/v1/wallets/{walletId}/salvage/network-fee

Request body

amountstring
blockchainIdstring
recipientAddressstring
senderAddressstring
crossNetworkboolean

Set to true to estimate fees for cross-network recovery. Cannot be used with rpcUrl.

Example request

{
  "amount": "3",
  "blockchainId": "b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa",
  "recipientAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
  "senderAddress": "0x65A9869D1b0d404FaBc77832d692E1A104C3ad5A"
}

Response

200 Token / 200 Native

messagestring
statusCodenumber

Example response

{
  "data": {
    "balance": "0.1",
    "fee": "0.000034492",
    "nativeBalance": "0.0",
    "symbol": "USDT"
  },
  "message": "Salvage network fee fetched successfully",
  "statusCode": 200
}