mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
12 lines
280 B
JavaScript
12 lines
280 B
JavaScript
|
#!/usr/bin/env node
|
||
|
'use strict'
|
||
|
|
||
|
const axios = require('axios')
|
||
|
|
||
|
// https://github.com/ethereum-lists/chains
|
||
|
const chainDataUrl = 'https://chainid.network/chains.json'
|
||
|
|
||
|
axios(chainDataUrl).then((response) => {
|
||
|
process.stdout.write(JSON.stringify(response.data, null, ' '))
|
||
|
})
|