This endpoint returns the current network fee for a cryptocurrency withdrawal.The network fee is the blockchain transaction fee paid to miners or validators to process the transaction. It is deducted from the user's balance in addition to the withdrawal amount. You can use this endpoint to display the expected fee to the user before they confirm a withdrawal or to validate that their balance is sufficient to cover both the withdrawal and the associated fee.The fee amount is dynamic and depends on the selected currency and network, often changing based on blockchain congestion. For some currencies (e.g., USDC), the network parameter is required to specify which blockchain to use, such as Ethereum or Polygon. The response will contain the current network fee for the requested combination.
Request
Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Query Params
Responses
🟢200Success
application/json
Body
🟠401Access Denied
🟠400P410: Currency not found
🟠400P500: Unknown exception
🟠400P501: Service temporarily unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://partner-api-stage.p100.io/v1/crypto-withdrawal/get-network-fee?currency=usdc&network=polygon' \
--header'x-api-key: <api-key>'