Skip to main content

Treasury Canister API Reference

Canister ID: gq2qq-myaaa-aaaab-afaiq-cai

The Treasury canister manages protocol-wide cycle management, fee collection, ICP-to-cycles conversion, stablecoin aggregation, and PARTY buyback-and-burn. It maintains GAAP-compliant cost-basis accounting across all asset inventories and provides daily snapshots of treasury health.

info

For complete method signatures and type definitions, refer to the Candid interface file (treasury.did).

Try It

Public Query Endpoints

  • get_control -- Control plane state: admin set, configured principals, cycle parameters, system state, and canister count.
  • get_canister_status -- Status for a registered canister: role, cycle burn rate, topup history, fee totals, and profitability metrics.
  • get_registered_canisters -- Paginated list of all registered canisters.
  • get_snapshots -- Daily treasury snapshots as stock-and-flow views with cursor pagination.
  • get_snapshot -- Specific daily snapshot by day index, or today's in-progress snapshot.