Calculate withdrawal fee
Withdraw
Calculate withdrawal fee
Calculates the withdrawal fee the user would be charged for a given offer amount and want asset.
GET
Calculate withdrawal fee
Documentation Index
Fetch the complete documentation index at: https://developers.paxoslabs.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key in format: pxl_<public_id>_
Query Parameters
Share amount to withdraw (base units decimal string)
Example:
"1000000000000000000"
ERC-20 token address the user wants to receive
Example:
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
BoringVault contract address (0x + 40 hex chars)
Example:
"0xbbbb000000000000000000000000000000000001"
EVM chain ID
Example:
1