Networks
This is an object representing the networks that are supported on hashport. You can retrieve a list of networks currently supported by hashport. Each item within the list defines a single network described by network ID (described as id) and the name of the network.
info
As documented by HIP-26, the CHAINID opcode 295, 296, and 297 represent the Hedera mainnet, testnet, and previewnet, respectively.
tip
This endpoint can help to create a whitelist of networks that users can switch to within a Web3 provider or interface (e.g. MetaMask). You may want to provide feedback within your dApp to let users know when they are on an unsupported network.
Responses
- 200
 - 500
 
OK
- application/json
 
- Schema
 
Schema array
- id integer
 - name string
 
Internal Server Error