zks_getConfirmedTokens RPC Method
Parameters
from
integer
REQUIRED
The token id from which to start returning the information about the tokens
limit
integer
REQUIRED
The number of token to be returned
Returns
result
array
The result array which has the list of all token which contains the following fields:
decimals
The number of decimal places for the token
l1Address
The address of the token on the L1 network
l2Address
The address of the token on the L2 network
name
The name of the token
symbol
The symbol or ticker of the token
Request
1curl https://docs-demo.zksync-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"zks_getConfirmedTokens","params":[1, 3 ],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free