accessControlList

accessControlList is a method on the ANTRegistry class that retrieves the access control list (ACL) for a specific address, showing which ANTs the address owns and controls.

accessControlList does not require authentication.

Examples

accessControlList

const acl = await antRegistry.accessControlList({
    address: 'ccp3blG__gKUvG3hsGC2u06aDmqv4CuhuDJGOIg0jw4'
});

Parameters

ParameterTypeDescriptionOptional
addressstring

The wallet address to retrieve access control information for

false

Output

{
  "Owned": [
    "bh9l1cy0aksiL_x9M359faGzM_yjralacHIUo8_nQXM",
    "xpKSNuZ_h6rOhvjm6Y8hqNy4WbG5xLFsXhM3QrK1bnA"
  ],
  "Controlled": [
    "bh9l1cy0aksiL_x9M359faGzM_yjralacHIUo8_nQXM",
    "xpKSNuZ_h6rOhvjm6Y8hqNy4WbG5xLFsXhM3QrK1bnA",
    "Df2FDNmctRl-BSFgKy9Uo9l8C2mMNsQrR3kQOJWBQq8"
  ]
}

Was this page helpful?