Skip to main content

Bungee Integration Overview

Bungee provides a unified API for token swaps. This guide outlines the integration process and helps you choose the right approach for your application.

Getting Started

See our integration guides for step-by-step instructions on how to integrate Bungee into your application.

Redirect users to Bungee with chain/tokens for transfers pre-selected. Users can then simply choose a route and start transferring with just a few clicks.

https://bungee.exchange/?fromChainId=1&fromTokenAddress=0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee&toChainId=10&toTokenAddress=0x0b2c639c533813f4aa9d7837caf62653d097ff85

See the Bungee Link documentation for more details and parameters.

Coming Soon

Bungee Lite: A React component for easy UI integration that will allow you to embed Bungee directly in your application with minimal configuration.

Integration Flow

All Bungee integrations follow these four key steps:

note

For detailed API specifications, see the API Reference.

1. Get Quote

Request a quote to receive available routes, fee estimates, and transaction data for your token swap.

2. Handle Token Approvals

For ERC20 tokens only:

  • Auto Mode: Uses Permit2 for gasless approvals (permit2 tx data is provided in the quote response)
  • Manual Mode: Requires standard ERC20 approval transaction (approval tx data is provided in the quote response and in build-tx response)

3. Submit Transaction (Onchain & Offchain)

Auto ERC20

Auto Native Token

  • Transaction data is provided in the quote response
  • Submit transaction onchain to the Inbox Contract

Manual Routes

4. Monitor Transaction Status

Track the status of your transaction until completion.

Integration Guides

For detailed implementation, refer to our step-by-step guides:

Coming Soon

  • Bungee Lite: A React component for easy UI integration

Legacy Documentation

Legacy Bungee Manual documentation is available here for reference, but we recommend using the new Bungee API for all new integrations.