const axios = require('axios');
async function makePostRequest() {
// TESTNET
let payload = { "code": "hotwetsloppy",
"table": "table.name",
"scope": "hotwetsloppy",
"json": true,
"limit": 100,
};
let url = 'https://api.waxtest.alohaeos.com/v1/chain/get_table_rows'
let res = await axios.post(url, payload);
let data = res.data;
return data['rows']
top of page
bottom of page