A successful response.
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.
message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
const response = await fetch('https://stride.nownodes.io/Stridelabs/stride/epochs', { method: 'GET', headers: {}, }); const data = await response.json();
{ "epochs": [ { "identifier": "text", "start_time": "2024-12-22T02:20:56.118Z", "duration": "text", "current_epoch": "text", "current_epoch_start_time": "2024-12-22T02:20:56.118Z", "epoch_counting_started": false, "current_epoch_start_height": "text" } ], "pagination": { "next_key": "Ynl0ZXM=", "total": "text" } }