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/fungible/foreign_coins/{index}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "foreignCoins": { "zrc20_contract_address": "text", "asset": "text", "foreign_chain_id": "text", "decimals": 0, "name": "text", "symbol": "text", "coin_type": "Zeta", "gas_limit": "text", "paused": false, "liquidity_cap": "text" } }
const response = await fetch('https://zetachain.nownodes.io/zeta-chain/fungible/foreign_coins', { method: 'GET', headers: {}, }); const data = await response.json();
{ "foreignCoins": [ { "zrc20_contract_address": "text", "asset": "text", "foreign_chain_id": "text", "decimals": 0, "name": "text", "symbol": "text", "coin_type": "Zeta", "gas_limit": "text", "paused": false, "liquidity_cap": "text" } ], "pagination": { "next_key": "Ynl0ZXM=", "total": "text" } }