Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.lfg.rich/llms.txt

Use this file to discover all available pages before exploring further.

Developers can integrate with LFG.RICH through the public API and on-chain contracts.

Use the public API

Fetch token lists, token details, trades, candles, balances, native price, and contract config.

Call contracts directly

Read protocol state, estimate trades, and build on-chain integrations using BSC RPC.

Protocol examples

Use Node.js and Python examples for estimates, buy, sell, borrow, borrowMore, and repay.

ABI reference

Copy the Factory, Hook, Token, and Swap Router ABIs used by integrations.

Common integration use cases

  • Token launch dashboards.
  • Buy/sell quoting tools.
  • Telegram and Discord buybots.
  • Portfolio and collateral dashboards.
  • Borrow position tracking.
  • Protocol analytics.
  • Custom trading interfaces.

Main integration contracts

ContractPurpose
FactoryFind official tokens, token info, pool IDs, and pool keys.
Uniswap V4 HookRead protocol state and estimate buys, sells, and borrowMore.
Swap RouterExecute buys and sells through simple user-facing methods.
TokenERC20 token interactions, approvals, balances, and collateral approvals.