curl --request POST \
--url https://api.mainnet.abs.xyz/zks_getBaseTokenL1Address \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_getBaseTokenL1Address",
"params": []
}'
{
"jsonrpc": "2.0",
"result": "0x0000000000000000000000000000000000000001",
"id": 1
}
Retrieves the L1 base token address
curl --request POST \
--url https://api.mainnet.abs.xyz/zks_getBaseTokenL1Address \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_getBaseTokenL1Address",
"params": []
}'
{
"jsonrpc": "2.0",
"result": "0x0000000000000000000000000000000000000001",
"id": 1
}
Returns the Layer 1 Ethereum address of base token
The response is of type any
.
Was this page helpful?