The Fungible Token(FT) API offers a range of query functions specifically designed for interacting with FTs, also known as ERC-20 tokens. This API provides detailed information about FT contracts, token holders, token transfer history, token balances of holders, the FT price information in multiple currencies, and many more.

With these functionalities, you can efficiently retrieve and analyze data related to FTs and their holders, and facilitate the development of FT-focused applications and services on the Bifrost Network.

✅ All FT API endpoints, except for those related to price, require an X-Network header value. This header value should be set to either 'testnet' or 'mainnet' to specify the desired network. Notably, the endpoints related to price exclusively operate with mainnet tokens and, therefore, do not necessitate the X-Network header.

We currently provide the following endpoints:

EndpointDescription
POST /ft/holder/balancesGet the given holder addresses' balance of the given token addresses on the given chains.
GET /ft/holder/{holderHash}/transfersGet the history of FT transfers for the given holder account hash.
GET /ft/holder/{holderHash}/tokensGet the list of FTs the given account holds.
GET /ft/transaction/{transactionHash}/transfersGet the history of FT transfers for the given transaction hash.
GET /ft/contract/{contractHash}/transfersGet the history of FT transfers for the given contract hash.
GET /ft/contract/{contractHash}/priceGet the given contract's current price. Only mainnet's token prices are available.
GET /ft/contract/{contractHash}/holdersGet FT holders' information on the given contract hash.
GET /ft/contract/{contractHash}/countersGet the number of holders and transfers of the given contract hash.
GET /ft/contract/{contractHash}Get FT contract information of the given contract hash.