get/v2/api/{network}/price
Request
- Base URLhttps://locksmith.unlock-protocol.com
- URLhttps://locksmith.unlock-protocol.com/v2/api/{network}/price
- Authnone declared
Path parameters
networkinteger required
Network id.
Query parameters
amountnumber
Amount of tokens you want to get the price for in USD.
addressstring
The erc20 address you want to get the price for. If nothing is passed, the API will return the native token price.
Response
Get price for the native token or any erc20 on the network.
Changes
No recorded changes to this operation across all 50 revisions of this API.