zks_getTokenPrice RPC Method
Parameters
address
string
REQUIRED
The address of the token
Returns
result
The price of a given token in USD
Request
1curl https://docs-demo.zksync-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"zks_getTokenPrice","params":["0x0000000000000000000000000000000000000000" ],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free