Skip to content

Get Swap Fees

GET
/liquidity/pools/{poolId}/fees

Get the swap fees for a pool.

Authorizations

Parameters

Path Parameters

poolId
required
string format: uuid

The ID of the liquidity pool

Responses

200

Swap fees

object
feeAtoB

Fee for swapping token0 to token1 in basis points (e.g., 30 = 0.3%)

integer
feeBtoA

Fee for swapping token1 to token0 in basis points (e.g., 30 = 0.3%)

integer
adminFeeShare

Percentage of fees that go to the admin (in basis points)

integer

400

Bad Request

object
code
integer
400
message
string
Bad Request
details
string
Invalid input parameters