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
string
The number of decimal places for the token
l1Address
string
The address of the token on the L1 network
l2Address
string
The address of the token on the L2 network
name
string
The name of the token
symbol
string
The symbol or ticker of the token
Request
1curl https://docs-demo.abstract-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