Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...

    Interface PrincipalACLWithInfoParsed

    The response from the API when requesting the ACLs for a given account

    interface PrincipalACLWithInfoParsed {
        balances: GetAllBalancesResponse;
        entity: GenericAccount;
        info: AccountInfo;
        principals: ACLRow[];
    }
    Index

    Properties

    The balances for the entity

    Type declaration

    • balance: bigint

      The account balance of the specified token

      This is in raw units, and not the display units that the token uses

    • token: TokenAddress

      The account of the token

    The account for which this ACL is set

    Metadata for the entity

    Type declaration

    Account info entry

    • OptionaldefaultPermission?: Permissions

      The default permissions for the account

    • description: string

      A description for the account

    • metadata: string

      Arbitrary metadata for the account

    • name: string

      A name for the account

    • Optionalsupply?: bigint

      If the account is a token, the supply of the token

    principals: ACLRow[]

    Type declaration

    Permissions types

    • entity: GenericAccount

      The account that this row is for

    • permissions: Permissions

      The permissions for which this row grants

    • principal: GenericAccount

      The account that these permissions apply to

    • target: GenericAccount

      An optional target account which, depending on the permissions, may be targeted by the permission