Skip to main content
All types are exported from the package root.

Common

CPMM

CLMM

Staking

Contract types

Each Powfi contract comes with a generated TypeScript namespace describing its on-chain data. The SDK re-exports these from the package root, so you can annotate your own code without importing from internal paths. They are types only: they don’t call contracts or send transactions. Each namespace contains:
You only need these when passing SDK results into your own functions or storing them. Calling powfi.* methods directly needs no annotations: TypeScript infers the types.