tokenPrice()
This function allows to identify the current price of the token. Keeping in mind that the price change over time, which means that once you query the price, a moment later it would be a less as more time has passed.
Function Arguments
Name
Type
Description
token
Token
The token address of the token you would like to trade out of the contract
Example
To check ETH, use the following address: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
Last updated