Complete API reference for the BondKit SDK with examples and TypeScript definitions.
Parameter | Type | Required | Description |
---|---|---|---|
chainId | number | Yes | Chain ID (currently only Base: 8453) |
walletKey | string | No | Private key for write operations |
deployBondkitToken
getDeployedBondkitTokens
getBondkitTokenConfig
getImplementationAddress
connect
Parameter | Type | Required | Description |
---|---|---|---|
contractAddress | string | Yes | Token contract address |
walletKey | string | No | Private key for write operations |
ERC20 Standard Methods
Bonding Curve Methods
State & Configuration
Analytics Methods
buy
minTokensOut
: Minimum tokens to receive (slippage protection)ethAmount
: ETH to spend (as string or bigint)sell
tokenAmount
: Amount of tokens to sellminEthOut
: Minimum ETH to receive (slippage protection)migrateToDex
ERC20 Write Methods
Chain | Chain ID | Status |
---|---|---|
Base Mainnet | 8453 | ✅ Supported |
Base Sepolia | 84532 | 🚧 Coming Soon |