Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Eos = require("eosjs")
- const BigNumber = require("bignumber.js")
- const accountName = 'myaccount'
- const encodedName = new
- BigNumber(Eos.modules.format.encodeName(accountName, false))
- Eos.Localnet({}).getTableRows({
- code: contractName.toString(),
- json: json,
- limit: limit,
- lower_bound: encodedName.toString(),
- scope: contractName.toString(),
- table: tableName.toString(),
- upper_bound: encodedName.plus(1).toString()
- })
Add Comment
Please, Sign In to add comment