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://zetachain.nownodes.io/zeta-chain/crosschain/lastBlockHeight/{index}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "LastBlockHeight": { "creator": "text", "index": "text", "chain": "text", "lastInboundHeight": "text", "lastOutboundHeight": "text" } }
const response = await fetch('https://zetachain.nownodes.io/zeta-chain/crosschain/lastBlockHeight', { method: 'GET', headers: {}, }); const data = await response.json();
{ "LastBlockHeight": [ { "creator": "text", "index": "text", "chain": "text", "lastInboundHeight": "text", "lastOutboundHeight": "text" } ], "pagination": { "next_key": "Ynl0ZXM=", "total": "text" } }