Skip to main content
This page is based on the public declaration surface of @meteora-ag/dynamic-bonding-curve-sdk. Use it as the high-level map for the SDK, then open the package types when you need exact parameter shapes.

Dependencies

Program IDs

Core Exports

Enums

Important Constants

Creating A Client

The client creates service instances for transactions, quotes, and account reads. The returned transactions are unsigned; callers still set blockhashes when needed, sign, simulate, and submit.

Complete Function Index

Client And Program Helpers

PartnerService

PoolService

CreatorService

MigrationService

StateService

Curve Builder Helpers

All curve builders return ConfigParameters.

Config, Curve, And Account Helpers

PDA Helpers

Token, Instruction, And Utility Helpers

Validation Helpers

Swap Quote Math

Curve Math

Fee Math

Pool Fee Math

Math Utilities

Core Types

Config Creation Types

client.partner.createConfig accepts CreateConfigParams. The type combines the accounts required by the create_config instruction with the SDK’s computed ConfigParameters. client.partner.createConfigWithTransferHook accepts CreateConfigWithTransferHookParams, which adds transferHookProgram. ConfigParameters is usually produced by one of the curve builders. Pass the returned object directly into createConfig, createConfigWithTransferHook, createConfigAndPool, or createConfigAndPoolWithFirstBuy.

Builder Input Groups

All curve builders share BuildCurveBaseParams, then add builder-specific target fields.

Common Workflows

Create A Config From A Builder

Create A Pool From An Existing Config

For transfer-hook configs, use client.creator.createPoolWithTransferHook.

Quote And Build A swap2 Transaction

Integration Notes