price
price
| Path Parameters |
|---|
network integer — REQUIREDNetwork id. |
| Query Parameters |
|---|
amount numberAmount of tokens you want to get the price for in USD. |
address stringThe erc20 address you want to get the price for. If nothing is passed, the API will return the native token price. |
| Responses | ||||||||
|---|---|---|---|---|---|---|---|---|
200Get price for the native token or any erc20 on the network.
| ||||||||
500Unable to fullfil request due to internal server error.
|