Fetching Table
const deployer = requireBox('seed-eos/tools/eos/deployer');
describe(`${contractCode} Contract`, () => {
const code = 'oracle';
let tableHelper;
before(done => {
(async () => {
try {
tableHelper = await deployer.deploy(ctrt, code);
...
const res = await tableHelper.eos.getTableRows({
code: code,
scope: code,
table: 'table',
json: true
});
console.log(res.rows[0])Secondary index example
Last updated
Was this helpful?