FinNexus FNX Token API v0.1 Alpha¶
Note: API is still under development and routes were changed on July 29th, 2020. The original routes still work but we recommend you use the new routes listed below. Also note that the domain name is subject to change. Any changes will be noted here and in API error messages until the official release of the 1.0 API.
This is an API for getting data about the FNX token and the FinNexus Options Protocol on the Wanchain blockchain.
The API makes use of Web3 to interact directly with the blockchain and also uses smart contract ABIs to connect with smart contract addresses and get access to their functions and events.
A single route at
/api/v1 returns all of the API data, while individual pieces of data may also be queried at the specific routes listed below.
Full Info Routes¶
These routes return raw values, formatted values, and other associated information as a simple JSON object.
Get all token data:¶
Current total supply:¶
Team and founding investors:¶
FNX circulating supply:¶
FNX in circulation with locked FNX deducted:¶
Current total supply of FNX on Ethereum:¶
Current total supply of FNX on Wanchain:¶
FinNexus Protocol For Options (FPO) Routes¶
These return information about FPO.
FPO total value locked on all chains¶
FPO total value locked on Ethereum¶
FPO total value locked on Wanchain¶
FPO WAN total value on Wanchain pool¶
FPO FNX total value on Wanchain pool¶
FPO FNX total value in FNX Ethereum Pool¶
FPO USDC total value in USDC Ethereum Pool¶
FPO WAN total amount on Wanchain pool¶
FPO FNX total amount on Wanchain pool¶
FPO FNX total amount in FNX Ethereum Pool¶
FPO USDC total amount in USDC Ethereum Pool¶
raw number Routes¶
These routes return raw numebrs only, as required for consumption by certain other APIs.