Skip to main content

scope

Description

Retrieves a list of scopes and tables owned by a contract.

Positionals

  • [contract] TEXT - The contract who owns the table.

Options

  • -t,--table TEXT - The name of the table as filter.
  • -l,--limit UINT - The maximum number of rows to return.
  • -L,--lower TEXT - lower bound of scope.
  • -U,--upper TEXT - upper bound of scope.
  • -r,--reverse - Iterate in reverse order.

Example

clio get scope sysio.token

Output

{
"rows": [{
"code": "sysio.token",
"scope": "........ehgp3",
"table": "stat",
"payer": "sysio.token",
"count": 1
},{
"code": "sysio.token",
"scope": "alpha",
"table": "accounts",
"payer": "sysio",
"count": 1
},{
"code": "sysio.token",
"scope": "beta",
"table": "accounts",
"payer": "sysio",
"count": 1
},{
"code": "sysio.token",
"scope": "charlie",
"table": "accounts",
"payer": "sysio",
"count": 1
},{
"code": "sysio.token",
"scope": "delta",
"table": "accounts",
"payer": "sysio",
"count": 1
},{
"code": "sysio.token",
"scope": "sysio",
"table": "accounts",
"payer": "sysio",
"count": 1
},{
"code": "sysio.token",
"scope": "sysio.ram",
"table": "accounts",
"payer": "sysio.ram",
"count": 1
},{
"code": "sysio.token",
"scope": "sysio.ramfee",
"table": "accounts",
"payer": "sysio",
"count": 1
},{
"code": "sysio.token",
"scope": "sysio.rex",
"table": "accounts",
"payer": "sysio",
"count": 1
},{
"code": "sysio.token",
"scope": "sysio.stake",
"table": "accounts",
"payer": "sysio",
"count": 1
}
],
"more": ""
}