The Bridge API provides access to comprehensive data associated with the Bifrost Bridge protocol. With this API, you can retrieve various information, including the transaction history and status of bridge actions and the essential configuration data required to execute bridge actions independently.

The Bifrost Bridge protocol currently supports the following chains:

Chain NameChain ID (testnet chain ID)
Bifrost3068 (49088)
Ethereum1 (11155111)
BNB56 (97)
Polygon137 (80001 discontinued)
Base8453 (84532)
Arbitrum42161 (421614)

✅ All Bridge API endpoints require a X-Network header value which receives either a 'testnet' or 'mainnet' string.

When a Chain ID must be given when using the below endpoints, please double-check that you have matched the right chain ID to the right X-Network value. "Mainnet" chain IDs must be given when "mainnet" is chosen for X-Network and vice-versa.

The following endpoints are currently provided:

EndpointDescription
/bridge/config/pairGet bridge pair list for given source chainId.
/bridge/config/contractGet bridge contract information for the given chainId and contractName.
/bridge/config/chainsGet the list of chains that support bridge actions with their configs.
/bridge/config/abiGet Contract ABI Json data for given abiFileName.
/bridge/action/statusGet the bridge status of the given transaction hash.
/bridge/action/history/user/{address}Get the bridge history of the given user address.
/bridge/action/history/tx/{txHash}Get the bridge history of the given transaction hash.
/bridge/action/history/count/{count}Get count number of the latest bridge history.
/bridge/action/history (deprecated)Get the bridge history of the given user address or transaction hash, or get count number of the latest bridge history.
/bridge/action/encodeEncode given parameters to Bifrost enum.
/bridge/action/balancesGet bridge token balances of the given account address.