Closed david-at-greymass closed 9 months ago
One thing we haven’t addressed in the Contract Kit is get_table_by_scope.
get_table_by_scope.
curl 'https://eos.greymass.com/v1/chain/get_table_by_scope' --data-raw '{"code":"eosio.msig","table":"proposal"}'
It returns all the scopes you could query from the table.
Trying to think of what the syntax would be for this, which I imagine would be on a Table instance, like…
Table
await contract.table('proposal').scopes().next()
Related PR: https://github.com/wharfkit/contract/pull/48
One thing we haven’t addressed in the Contract Kit is
get_table_by_scope.
It returns all the scopes you could query from the table.
Trying to think of what the syntax would be for this, which I imagine would be on a
Table
instance, like…