const http = require('axios')
// notes: fork https://runkit.com/makevoid/eternity-wall-json-opreturn
const url_base = "http://eternitywall.it/search?format=json&q="
const address = "12RXhCqxnXgJyfJLL2mvcqT3jCQ2o6rMAR"
const url = `${url_base}${address}`
const c = console
const DEBUG = true // enables console.log
// const DEBUG = false
const resp = await http.get(url)
c.log(`URL: ${url}`)
// API returns only the first message - TODO FIXME api
resp.data.messages.map((message) => {
return message
})