curl --request POST \
--url https://rpc.mainnet.near.org/EXPERIMENTAL_maintenance_windows \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "EXPERIMENTAL_maintenance_windows",
"params": {
"account_id": "<string>"
}
}
'{
"result": [
{
"end": 1,
"start": 1
}
],
"id": "<string>",
"jsonrpc": "<string>"
}[Deprecated] Returns the future windows for maintenance in current epoch for the specified account. In the maintenance windows, the node will not be block producer or chunk producer. Consider using maintenance_windows instead.
curl --request POST \
--url https://rpc.mainnet.near.org/EXPERIMENTAL_maintenance_windows \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "EXPERIMENTAL_maintenance_windows",
"params": {
"account_id": "<string>"
}
}
'{
"result": [
{
"end": 1,
"start": 1
}
],
"id": "<string>",
"jsonrpc": "<string>"
}