Skip to main content

zks_getTokenPrice RPC Method (deprecated)

Returns the price of a given token in USD.

Updated on
Sep 22, 2026
Please note that this method is deprecated and is no longer supported on zkSync networks.

Parameters

address
string
REQUIRED

The address of the token

Returns

result

The price of a given token in USD

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x0"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x0"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free