v1
latestOpenAPI 3.0.32026-07-26184851.6 MBAsset Recovery
Network Fee
Calculates and returns the estimated network fee for a potential asset recovery transaction.
Body Parameters
| Key | Required | Type | Description |
|---|---|---|---|
| senderAddress | true | string | The address you're recovering assets from |
| recipientAddress | true | string | The address the recovering assets will be sent to |
| amount | true | string | The amount to be salvaged. |
| tokenAddress | false | string | Specify this for token salvage |
| blockchainId | true | string | The blockchain id you're recovering funds from |
| rpcUrl | false | string | Specify this for assets on an unsupported blockchain |
| isL2 | false | boolean | Specify this if RPC url points to a Layer 2 blockchain |
| crossNetwork | false | boolean | Set to true to estimate fees for cross-network recovery. Cannot be used with rpcUrl. |
post/v1/wallets/{walletId}/salvage/network-fee
Request body
Example request
{
"amount": "3",
"blockchainId": "b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa",
"recipientAddress": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
"senderAddress": "0x65A9869D1b0d404FaBc77832d692E1A104C3ad5A"
}Response
200 Token / 200 Native
Example response
{
"data": {
"balance": "0.1",
"fee": "0.000034492",
"nativeBalance": "0.0",
"symbol": "USDT"
},
"message": "Salvage network fee fetched successfully",
"statusCode": 200
}