Skip to content

Integration

You can integrate Tegro Finance data and trading into your own product.

Use the API to pull pools, assets and quotes. Always treat the live API and on-chain state as the source of truth for addresses and reserves.

Trading actions (swap, add/remove liquidity, stake) are signed by the user’s wallet via TON Connect. The backend returns a prepared message payload; your client passes it to the wallet to sign. Do not hardcode contract addresses — read current ones from the API.

  • Resolve token metadata from /api/v1/assets; handle tokens with missing metadata gracefully.
  • Show fees and price impact before the user confirms.
  • Verify token addresses; warn on look-alike symbols.