List withdrawal fees
Changed onLists currently enabled public chain and token pairs with their withdrawal fees. Requires fund.withdraw permission.
Request
- Base URLhttps://openapi.infini.money/v2/funds
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
32-character Base58 credential ID returned after public-key registration.
Unix timestamp in seconds; tolerance is ±300 seconds.
16 cryptographically random bytes encoded as unpadded Base64URL; fresh on every attempt.
SHA-256= followed by standard padded Base64 of SHA-256 of exact request body bytes. Required even for an empty body; included in the signing string.
Use Ed25519 signature="BASE64_SIGNATURE", where BASE64_SIGNATURE is the standard padded Base64 signature. See /docs/en/4-authorization for the exact signing string.
Response
Standard response envelope
Example response
{
"data": {
"fees": [
{
"chain": "ARBITRUM",
"token_type": "USDC",
"withdraw_fee": "0.5"
}
]
}
}Changes
- breaking
added the new required
headerrequest parameterDigest - breaking
added the new required
headerrequest parameterX-API-Key-ID - breaking
added the new required
headerrequest parameterX-API-Nonce - breaking
added the new required
headerrequest parameterX-API-Timestamp - breaking
the
headerrequest parameterAuthorizationbecame required - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status - warning
deleted the
headerrequest parameterDate
- breaking