Calculates and returns the estimated network fee for a potential asset recovery transaction.
| 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. |
"WALLET_ID"
"3"
"b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa"
"0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22"
"0x65A9869D1b0d404FaBc77832d692E1A104C3ad5A"
Set to true to estimate fees for cross-network recovery. Cannot be used with rpcUrl.
false