Requirements
The virtual price data is supplied by etherscan api, hence attributes are derived from a specific endpoint to integrate price. Kindly refer to etherscan docs here on how to derive the required endpoint: https://docs.etherscan.io/api-endpoints/geth-parity-proxy#eth_call
You are required to input the following details into your proxy endpoint call:
- Chain - Include the chain details of the token in your endpoint
- Virtual Price Contract Address - Add the contract address of the respective proxy/virtual contract
- Virtual Price Method Hash - The hash function used to derive price
With these information, you should be able to build an api call to fetch token price.
Sample Call Example: https://api.etherscan.io/api?module=proxy&action=eth_call&to=0xB4AdA607B9d6b2c9Ee07A275e9616B84AC560139&data=0x99530b060000000000000000000000000000000000000000000000000000000000000000&tag=latest&apikey=xx
This endpoint combines virtual price contract address and the virtual price method hash to derive price data.
Kindly provide this API call to derive your token price to our team.
Eligibility
We only support the following chains at the moment:
- Ethereum
- Binance Smart Chain
- Polygon
- Fantom
- Optimism
- Avalanche
- Arbitrum
- Base
This virtual price tracking method only applies if the token meets our coin listing requirements and the conditions specified above. Price data from centralized or decentralized exchanges will take precedence over this method.
Kindly submit a ticket on the top right corner of the screen to provide us with the respective details. Let us know if you require additional assistance to assist you further.
Comments
0 comments
Please sign in to leave a comment.