Flash loan premium
Retrieves the total flash loan premium for a given lending pool.
Authorizations
AuthorizationstringRequired
Query parameters
addressstringRequired
- The address of the lending pool.
chainIdstringRequired
- The chain ID of the blockchain network.
Header parameters
AuthorizationstringRequired
- The authorization token from the request header.
Responses
200
A promise that resolves to a LendingPoolAPIResponse containing the total flash loan premium.
application/json
get
/lending-pool/flash-loan-premiumGET /lending-pool/flash-loan-premium?address=text&chainId=text HTTP/1.1
Host: beta.usemoon.ai/
Authorization: text
Accept: */*
200
A promise that resolves to a LendingPoolAPIResponse containing the total flash loan premium.
{
"success": true,
"message": "text",
"data": 1
}