Pinax Logo/Datasets
WAXPerm Ops

Column Descriptions

for wax.perm_ops

20 rows
NameTypeDescription
idNUMBER
ownerTEXT
action_indexNUMBER
keys_weightARRAY
block_dateDATE
nameTEXT
parent_idNUMBER
tx_hashTEXT
wait_secARRAY
block_numberNUMBER
thresholdNUMBER
block_timeTIMESTAMP_NTZ
keys_public_keyARRAY
operationTEXT
tx_successBOOLEAN
accounts_weightARRAY
wait_weightARRAY
accountsARRAY
operation_codeNUMBER
block_hashTEXT

Sample Queries

Find Permissions for a Specific Account
Retrieves all permission changes related to a specific account
SELECT
  *
FROM
  wax.perm_ops
WHERE
  owner = 'someaccount';
Most Common Permission Changes
Identifies the most common types of permission operations
SELECT
  operation,
  COUNT(*) AS operation_count
FROM
  wax.perm_ops
GROUP BY
  operation
ORDER BY
  operation_count DESC
LIMIT
  10;
Accounts with Multiple Permission Changes in a Block
Finds accounts that had multiple permission changes within the same block
SELECT
  block_number,
  owner,
  COUNT(*) AS changes
FROM
  wax.perm_ops
GROUP BY
  block_number,
  owner
HAVING
  changes > 1
ORDER BY
  changes DESC;