# IOutput | @coopenomics/sdk
Documentation for @coopenomics/sdk

# Type alias IOutput

IOutput: {
getAccounts: {
currentPage: number;
items: {
blockchain_account?: {
account_name: string;
core_liquid_balance?: null | string;
cpu_limit: {
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
cpu_weight: string;
created: string;
head_block_num: number;
head_block_time: string;
last_code_update: string;
net_limit: {
available: string;
current_used?: null | string;
last_usage_update_time?: null | string;
max: string;
used: string;
};
net_weight: string;
permissions: {
parent: string;
perm_name: string;
required_auth: {
accounts: {
permission: {
actor: ...;
permission: ...;
};
weight: number;
}[];
keys: {
key: string;
weight: number;
}[];
threshold: number;
waits: {
wait_sec: number;
weight: number;
}[];
};
}[];
privileged: boolean;
ram_quota: number;
ram_usage: number;
refund_request?: {
cpu_amount: string;
net_amount: string;
owner: string;
request_time: string;
};
rex_info?: null | string;
self_delegated_bandwidth?: {
cpu_weight: string;
from: string;
net_weight: string;
to: string;
};
total_resources?: {
cpu_weight: string;
net_weight: string;
owner: string;
ram_bytes: number;
};
voter_info?: null | string;
};
participant_account?: {
braname?: null | string;
created_at: unknown;
has_vote: boolean;
is_initial: boolean;
is_minimum: boolean;
last_min_pay: unknown;
last_update: unknown;
status: string;
type?: null | string;
username: string;
};
provider_account?: {
email: string;
has_account: boolean;
initial_order?: null | string;
is_email_verified: boolean;
is_registered: boolean;
message?: null | string;
public_key: string;
referer: string;
role: string;
status: UserStatus ;
type: string;
username: string;
};
user_account?: {
meta: string;
referer: string;
registered_at: string;
registrator: string;
status: string;
storages: string[];
type: string;
username: string;
verifications: {
created_at: string;
is_verified: boolean;
last_update: string;
notice: string;
procedure: string;
verificator: string;
}[];
};
username: string;
}[];
totalCount: number;
totalPages: number;
};
}

#### Type declaration

- ##### getAccounts: {
  currentPage: number;
  items: {
  blockchain_account?: {
  account_name: string;
  core_liquid_balance?: null | string;
  cpu_limit: {
  available: string;
  current_used?: null | string;
  last_usage_update_time?: null | string;
  max: string;
  used: string;
  };
  cpu_weight: string;
  created: string;
  head_block_num: number;
  head_block_time: string;
  last_code_update: string;
  net_limit: {
  available: string;
  current_used?: null | string;
  last_usage_update_time?: null | string;
  max: string;
  used: string;
  };
  net_weight: string;
  permissions: {
  parent: string;
  perm_name: string;
  required_auth: {
  accounts: {
  permission: {
  actor: ...;
  permission: ...;
  };
  weight: number;
  }[];
  keys: {
  key: string;
  weight: number;
  }[];
  threshold: number;
  waits: {
  wait_sec: number;
  weight: number;
  }[];
  };
  }[];
  privileged: boolean;
  ram_quota: number;
  ram_usage: number;
  refund_request?: {
  cpu_amount: string;
  net_amount: string;
  owner: string;
  request_time: string;
  };
  rex_info?: null | string;
  self_delegated_bandwidth?: {
  cpu_weight: string;
  from: string;
  net_weight: string;
  to: string;
  };
  total_resources?: {
  cpu_weight: string;
  net_weight: string;
  owner: string;
  ram_bytes: number;
  };
  voter_info?: null | string;
  };
  participant_account?: {
  braname?: null | string;
  created_at: unknown;
  has_vote: boolean;
  is_initial: boolean;
  is_minimum: boolean;
  last_min_pay: unknown;
  last_update: unknown;
  status: string;
  type?: null | string;
  username: string;
  };
  provider_account?: {
  email: string;
  has_account: boolean;
  initial_order?: null | string;
  is_email_verified: boolean;
  is_registered: boolean;
  message?: null | string;
  public_key: string;
  referer: string;
  role: string;
  status: UserStatus ;
  type: string;
  username: string;
  };
  user_account?: {
  meta: string;
  referer: string;
  registered_at: string;
  registrator: string;
  status: string;
  storages: string[];
  type: string;
  username: string;
  verifications: {
  created_at: string;
  is_verified: boolean;
  last_update: string;
  notice: string;
  procedure: string;
  verificator: string;
  }[];
  };
  username: string;
  }[];
  totalCount: number;
  totalPages: number;
  }

  Получить сводную информацию о аккаунтах системы

  - ##### currentPage: number

    Текущая страница

  - ##### items: {
    blockchain_account?: {
    account_name: string;
    core_liquid_balance?: null | string;
    cpu_limit: {
    available: string;
    current_used?: null | string;
    last_usage_update_time?: null | string;
    max: string;
    used: string;
    };
    cpu_weight: string;
    created: string;
    head_block_num: number;
    head_block_time: string;
    last_code_update: string;
    net_limit: {
    available: string;
    current_used?: null | string;
    last_usage_update_time?: null | string;
    max: string;
    used: string;
    };
    net_weight: string;
    permissions: {
    parent: string;
    perm_name: string;
    required_auth: {
    accounts: {
    permission: {
    actor: ...;
    permission: ...;
    };
    weight: number;
    }[];
    keys: {
    key: string;
    weight: number;
    }[];
    threshold: number;
    waits: {
    wait_sec: number;
    weight: number;
    }[];
    };
    }[];
    privileged: boolean;
    ram_quota: number;
    ram_usage: number;
    refund_request?: {
    cpu_amount: string;
    net_amount: string;
    owner: string;
    request_time: string;
    };
    rex_info?: null | string;
    self_delegated_bandwidth?: {
    cpu_weight: string;
    from: string;
    net_weight: string;
    to: string;
    };
    total_resources?: {
    cpu_weight: string;
    net_weight: string;
    owner: string;
    ram_bytes: number;
    };
    voter_info?: null | string;
    };
    participant_account?: {
    braname?: null | string;
    created_at: unknown;
    has_vote: boolean;
    is_initial: boolean;
    is_minimum: boolean;
    last_min_pay: unknown;
    last_update: unknown;
    status: string;
    type?: null | string;
    username: string;
    };
    provider_account?: {
    email: string;
    has_account: boolean;
    initial_order?: null | string;
    is_email_verified: boolean;
    is_registered: boolean;
    message?: null | string;
    public_key: string;
    referer: string;
    role: string;
    status: UserStatus ;
    type: string;
    username: string;
    };
    user_account?: {
    meta: string;
    referer: string;
    registered_at: string;
    registrator: string;
    status: string;
    storages: string[];
    type: string;
    username: string;
    verifications: {
    created_at: string;
    is_verified: boolean;
    last_update: string;
    notice: string;
    procedure: string;
    verificator: string;
    }[];
    };
    username: string;
    }[]

    Элементы текущей страницы

  - ##### totalCount: number

    Общее количество элементов

  - ##### totalPages: number

    Общее количество страниц

- Defined in components/sdk/src/queries/accounts/getAccounts.ts:23