rollup_getInfo
Get rollup configuration information for the Zora OP Stack L2 network. This method provides essential configuration data about the rollup including version information, chain parameters, and network-specific settings.
Parameters
None. This method takes no parameters.
Returns
Returns configuration information about the Zora rollup including:
- Rollup version and implementation details
- Chain configuration parameters
- L1 and L2 relationship information
- Network-specific settings for creator economy features
Implementation Example
- cURL
- JavaScript
curl -X POST https://api-zora-mainnet.n.dwellir.com/2307f636-d01d-4f85-ba5e-514ff37069f5 \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "rollup_getInfo",
"params": [],
"id": 1
}'
const response = await fetch('https://api-zora-mainnet.n.dwellir.com/2307f636-d01d-4f85-ba5e-514ff37069f5', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
jsonrpc: '2.0',
method: 'rollup_getInfo',
params: [],
id: 1
})
});
const data = await response.json();
console.log(data.result);
Response Example
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"mode": "sequencer",
"syncing": false,
"sequencerEnabled": true,
"ethContext": {
"blockNumber": 18750000,
"blockHash": "0x1234567890abcdef...",
"timestamp": 1701234567
},
"rollupContext": {
"index": 1500000,
"queueIndex": 750000,
"verifiedIndex": 1450000
}
}
}
Note: This method returns comprehensive information about the Zora OP Stack L2 rollup configuration. The data helps developers understand the current state of the network and its relationship with Ethereum L1, which is crucial for building reliable creator economy applications.
Need help? Contact our support team or check the Zora documentation.