Skip to contents

Returns a list of all permissions (or filtered by type) currently active on the blockchain.

Usage

mc_list_permissions(conn, permissions = "*")

Arguments

conn

A connection object created by mc_connect.

permissions

Character string. Permission type to filter. Can be a single permission name (e.g., "send") or "*" (default) to list all permissions.

Value

A data frame (via rpc_res_to_df) with permission entries, typically containing columns like address, type, start, end, and txid.

Examples

if (FALSE) { # \dontrun{
# List all permissions
all_perms <- mc_list_permissions(conn)

# List only "admin" permissions
admins <- mc_list_permissions(conn, "admin")
} # }