Cross-Currency Transfers
Estimate crypto withdrawal fee
Changed onEstimate the network and application fees for a cryptocurrency withdrawal from a crypto internal account to an external blockchain address. Use this to show fee information to customers before they initiate a withdrawal.
post/crypto/estimate-withdrawal-fee
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/crypto/estimate-withdrawal-fee
- AuthHTTP basic
Request body
Example request
{
"internalAccountId": "InternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123",
"currency": "USDC",
"cryptoNetwork": "SOLANA",
"amount": 1000000,
"destinationAddress": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
}Response
Fee estimation returned successfully
Example response
{
"networkFee": 5000,
"networkFeeAsset": "SOL",
"totalFee": 5000,
"netAmount": 995000
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
EXACT_AMOUNT_UNAVAILABLEenum value to theresponse property for the response status
- warning