githubEdit

Flash loan premium

get

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
chevron-right
200

A promise that resolves to a LendingPoolAPIResponse containing the total flash loan premium.

application/json

Represents the structure of the API response for the Lending Pool.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

Provides a message related to the API response.

datanumber · doubleOptional

Contains the data returned by the API, if any.

get
/lending-pool/flash-loan-premium
200

A promise that resolves to a LendingPoolAPIResponse containing the total flash loan premium.