Skip to main content

@elizaos/core v1.0.6 / PoolInfo

Type Alias: PoolInfo

PoolInfo: object

A standardized representation of a liquidity pool from any DEX.

Type declaration​

id​

id: string

displayName?​

optional displayName: string

dex​

dex: string

tokenA​

tokenA: object

tokenA.mint​

mint: string

tokenA.symbol?​

optional symbol: string

tokenA.reserve?​

optional reserve: string

tokenA.decimals?​

optional decimals: number

tokenB​

tokenB: object

tokenB.mint​

mint: string

tokenB.symbol?​

optional symbol: string

tokenB.reserve?​

optional reserve: string

tokenB.decimals?​

optional decimals: number

lpTokenMint?​

optional lpTokenMint: string

apr?​

optional apr: number

apy?​

optional apy: number

tvl?​

optional tvl: number

fee?​

optional fee: number

metadata?​

optional metadata: Metadata

Defined in​

packages/core/src/types/lp.ts:8