POST
/
zks_getConfirmedTokens
curl --request POST \
  --url https://api.mainnet.abs.xyz/zks_getConfirmedTokens \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "zks_getConfirmedTokens",
  "params": [
    0,
    10
  ]
}'
{
  "jsonrpc": "2.0",
  "result": [
    {
      "decimals": 18,
      "l1Address": "0x0000000000000000000000000000000000000000",
      "l2Address": "0x000000000000000000000000000000000000800A",
      "name": "Ether",
      "symbol": "ETH"
    }
  ],
  "id": 1
}

Body

application/json
jsonrpc
string
default:2.0
required

JSON-RPC version

method
string
default:zks_getConfirmedTokens
required

The method to call

params
any[]
required

Call parameters

id
integer
default:1
required

Request identifier

Response

200 - application/json
Returns the list of tokens
jsonrpc
string
Example:

"2.0"

id
integer
Example:

1

result
object[]

List of token objects