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