import { Message } from "@bufbuild/protobuf"; import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; declare namespace analytics_read_pb_d_exports { export { ChainAnalyticsRange, ChainAnalyticsRangeSchema, ChainAnalyticsService, GetUnifiedAssetBalancesRequest, GetUnifiedAssetBalancesRequestSchema, GetUnifiedAssetBalancesResponse, GetUnifiedAssetBalancesResponseSchema, GetZippedAssetSupplyGroupRequest, GetZippedAssetSupplyGroupRequestSchema, GetZippedAssetSupplyGroupResponse, GetZippedAssetSupplyGroupResponseSchema, GetZippedAssetSupplyRequest, GetZippedAssetSupplyRequestSchema, GetZippedAssetSupplyResponse, GetZippedAssetSupplyResponseSchema, ZippedAssetSupplySeries, ZippedAssetSupplySeriesSchema, file_chain_analytics_v1_analytics_read }; } /** * Describes the file chain/analytics/v1/analytics_read.proto. */ declare const file_chain_analytics_v1_analytics_read: GenFile; /** * GetZippedAssetSupplyRequest selects the route-scoped zToken supply series. * * @generated from message chain.analytics.v1.GetZippedAssetSupplyRequest */ type GetZippedAssetSupplyRequest = Message<"chain.analytics.v1.GetZippedAssetSupplyRequest"> & { /** * Zipped asset route identifier. * * @generated from field: uint32 zipped_asset_id = 1; */ zippedAssetId: number; /** * Standard history window. Defaults to 1 day when unspecified. * * @generated from field: chain.analytics.v1.ChainAnalyticsRange range = 2; */ range: ChainAnalyticsRange; /** * Optional explicit bucket. Allowed values are 1m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, or 1d. * Valid buckets depend on range to keep chart payloads near 1k points. * When omitted, the server picks the default bucket for the selected range. * * @generated from field: string bucket = 3; */ bucket: string; /** * Optional inclusive start timestamp in seconds since Unix epoch. * * @generated from field: fixed32 start_ts_sec = 4; */ startTsSec: number; /** * Optional inclusive end timestamp in seconds since Unix epoch. * * @generated from field: fixed32 end_ts_sec = 5; */ endTsSec: number; }; /** * Describes the message chain.analytics.v1.GetZippedAssetSupplyRequest. * Use `create(GetZippedAssetSupplyRequestSchema)` to create a new message. */ declare const GetZippedAssetSupplyRequestSchema: GenMessage; /** * GetZippedAssetSupplyResponse returns zipped asset supply chart columns. * * @generated from message chain.analytics.v1.GetZippedAssetSupplyResponse */ type GetZippedAssetSupplyResponse = Message<"chain.analytics.v1.GetZippedAssetSupplyResponse"> & { /** * Zipped asset route identifier. * * @generated from field: uint32 zipped_asset_id = 1; */ zippedAssetId: number; /** * Resolved history window. * * @generated from field: chain.analytics.v1.ChainAnalyticsRange range = 2; */ range: ChainAnalyticsRange; /** * Resolved bucket duration. * * @generated from field: string bucket = 3; */ bucket: string; /** * First bucket timestamp in seconds since Unix epoch. * * @generated from field: fixed32 start_ts_sec = 4; */ startTsSec: number; /** * Last bucket timestamp in seconds since Unix epoch. * * @generated from field: fixed32 end_ts_sec = 5; */ endTsSec: number; /** * Number of buckets represented by each value column. * * @generated from field: uint32 points = 6; */ points: number; /** * Total zToken supply per bucket scaled by the unified asset's * AssetConfig.quantity_scale from SpotConfig for this zipped asset. * Decode: total_supply_q / 10^quantity_scale. * * @generated from field: repeated uint64 total_supply_q = 7; */ totalSupplyQ: bigint[]; }; /** * Describes the message chain.analytics.v1.GetZippedAssetSupplyResponse. * Use `create(GetZippedAssetSupplyResponseSchema)` to create a new message. */ declare const GetZippedAssetSupplyResponseSchema: GenMessage; /** * ZippedAssetSupplySeries is one zipped asset supply column in a grouped chart. * * @generated from message chain.analytics.v1.ZippedAssetSupplySeries */ type ZippedAssetSupplySeries = Message<"chain.analytics.v1.ZippedAssetSupplySeries"> & { /** * Zipped asset route identifier. * * @generated from field: uint32 zipped_asset_id = 1; */ zippedAssetId: number; /** * Total zToken supply per bucket scaled by the unified asset's * AssetConfig.quantity_scale from SpotConfig for this zipped asset. * Decode: total_supply_q / 10^quantity_scale. * * @generated from field: repeated uint64 total_supply_q = 2; */ totalSupplyQ: bigint[]; }; /** * Describes the message chain.analytics.v1.ZippedAssetSupplySeries. * Use `create(ZippedAssetSupplySeriesSchema)` to create a new message. */ declare const ZippedAssetSupplySeriesSchema: GenMessage; /** * GetZippedAssetSupplyGroupRequest selects all zipped asset routes in one asset group. * * @generated from message chain.analytics.v1.GetZippedAssetSupplyGroupRequest */ type GetZippedAssetSupplyGroupRequest = Message<"chain.analytics.v1.GetZippedAssetSupplyGroupRequest"> & { /** * Zipped asset group identifier. * * @generated from field: string group_id = 1; */ groupId: string; /** * Standard history window. Defaults to 1 day when unspecified. * * @generated from field: chain.analytics.v1.ChainAnalyticsRange range = 2; */ range: ChainAnalyticsRange; /** * Optional explicit bucket. Allowed values are 1m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, or 1d. * Valid buckets depend on range to keep chart payloads near 1k points. * When omitted, the server picks the default bucket for the selected range. * * @generated from field: string bucket = 3; */ bucket: string; /** * Optional inclusive start timestamp in seconds since Unix epoch. * * @generated from field: fixed32 start_ts_sec = 4; */ startTsSec: number; /** * Optional inclusive end timestamp in seconds since Unix epoch. * * @generated from field: fixed32 end_ts_sec = 5; */ endTsSec: number; }; /** * Describes the message chain.analytics.v1.GetZippedAssetSupplyGroupRequest. * Use `create(GetZippedAssetSupplyGroupRequestSchema)` to create a new message. */ declare const GetZippedAssetSupplyGroupRequestSchema: GenMessage; /** * GetZippedAssetSupplyGroupResponse returns grouped zipped asset supply chart columns. * * @generated from message chain.analytics.v1.GetZippedAssetSupplyGroupResponse */ type GetZippedAssetSupplyGroupResponse = Message<"chain.analytics.v1.GetZippedAssetSupplyGroupResponse"> & { /** * Zipped asset group identifier. * * @generated from field: string group_id = 1; */ groupId: string; /** * Resolved history window. * * @generated from field: chain.analytics.v1.ChainAnalyticsRange range = 2; */ range: ChainAnalyticsRange; /** * Resolved bucket duration. * * @generated from field: string bucket = 3; */ bucket: string; /** * First bucket timestamp in seconds since Unix epoch. * * @generated from field: fixed32 start_ts_sec = 4; */ startTsSec: number; /** * Last bucket timestamp in seconds since Unix epoch. * * @generated from field: fixed32 end_ts_sec = 5; */ endTsSec: number; /** * Number of buckets represented by each value column. * * @generated from field: uint32 points = 6; */ points: number; /** * One supply column per zipped asset route in the group. * * @generated from field: repeated chain.analytics.v1.ZippedAssetSupplySeries series = 7; */ series: ZippedAssetSupplySeries[]; }; /** * Describes the message chain.analytics.v1.GetZippedAssetSupplyGroupResponse. * Use `create(GetZippedAssetSupplyGroupResponseSchema)` to create a new message. */ declare const GetZippedAssetSupplyGroupResponseSchema: GenMessage; /** * GetUnifiedAssetBalancesRequest selects total unified asset balances. * * @generated from message chain.analytics.v1.GetUnifiedAssetBalancesRequest */ type GetUnifiedAssetBalancesRequest = Message<"chain.analytics.v1.GetUnifiedAssetBalancesRequest"> & { /** * Unified asset identifier. * * @generated from field: uint32 asset_id = 1; */ assetId: number; /** * Standard history window. Defaults to 1 day when unspecified. * * @generated from field: chain.analytics.v1.ChainAnalyticsRange range = 2; */ range: ChainAnalyticsRange; /** * Optional explicit bucket. Allowed values are 1m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, or 1d. * Valid buckets depend on range to keep chart payloads near 1k points. * When omitted, the server picks the default bucket for the selected range. * * @generated from field: string bucket = 3; */ bucket: string; /** * Optional inclusive start timestamp in seconds since Unix epoch. * * @generated from field: fixed32 start_ts_sec = 4; */ startTsSec: number; /** * Optional inclusive end timestamp in seconds since Unix epoch. * * @generated from field: fixed32 end_ts_sec = 5; */ endTsSec: number; }; /** * Describes the message chain.analytics.v1.GetUnifiedAssetBalancesRequest. * Use `create(GetUnifiedAssetBalancesRequestSchema)` to create a new message. */ declare const GetUnifiedAssetBalancesRequestSchema: GenMessage; /** * GetUnifiedAssetBalancesResponse returns unified asset balance chart columns. * * @generated from message chain.analytics.v1.GetUnifiedAssetBalancesResponse */ type GetUnifiedAssetBalancesResponse = Message<"chain.analytics.v1.GetUnifiedAssetBalancesResponse"> & { /** * Unified asset identifier. * * @generated from field: uint32 asset_id = 1; */ assetId: number; /** * Resolved history window. * * @generated from field: chain.analytics.v1.ChainAnalyticsRange range = 2; */ range: ChainAnalyticsRange; /** * Resolved bucket duration. * * @generated from field: string bucket = 3; */ bucket: string; /** * First bucket timestamp in seconds since Unix epoch. * * @generated from field: fixed32 start_ts_sec = 4; */ startTsSec: number; /** * Last bucket timestamp in seconds since Unix epoch. * * @generated from field: fixed32 end_ts_sec = 5; */ endTsSec: number; /** * Number of buckets represented by each value column. * * @generated from field: uint32 points = 6; */ points: number; /** * Total unified balance per bucket across public account surfaces, scaled by * AssetConfig.quantity_scale from SpotConfig for asset_id. * Decode: total_balance_q / 10^quantity_scale. * * @generated from field: repeated uint64 total_balance_q = 7; */ totalBalanceQ: bigint[]; }; /** * Describes the message chain.analytics.v1.GetUnifiedAssetBalancesResponse. * Use `create(GetUnifiedAssetBalancesResponseSchema)` to create a new message. */ declare const GetUnifiedAssetBalancesResponseSchema: GenMessage; /** * ChainAnalyticsRange selects a standard chart window and default bucket size. * * @generated from enum chain.analytics.v1.ChainAnalyticsRange */ declare enum ChainAnalyticsRange { /** * Default chart range. The server treats this as 1 day. * * @generated from enum value: RANGE_UNSPECIFIED = 0; */ RANGE_UNSPECIFIED = 0, /** * 1 day. * * @generated from enum value: DAY_1 = 1; */ DAY_1 = 1, /** * 7 days. * * @generated from enum value: DAY_7 = 2; */ DAY_7 = 2, /** * 30 days. * * @generated from enum value: DAY_30 = 3; */ DAY_30 = 3, /** * 90 days. * * @generated from enum value: DAY_90 = 4; */ DAY_90 = 4, /** * 180 days. * * @generated from enum value: DAY_180 = 5; */ DAY_180 = 5, /** * 365 days. * * @generated from enum value: DAY_365 = 6; */ DAY_365 = 6 } /** * Describes the enum chain.analytics.v1.ChainAnalyticsRange. */ declare const ChainAnalyticsRangeSchema: GenEnum; /** * ChainAnalyticsService serves public chain analytics chart series. * * @generated from service chain.analytics.v1.ChainAnalyticsService */ declare const ChainAnalyticsService: GenService<{ /** * Get route-scoped zipped asset supply chart columns. * * @generated from rpc chain.analytics.v1.ChainAnalyticsService.GetZippedAssetSupply */ getZippedAssetSupply: { methodKind: "unary"; input: typeof GetZippedAssetSupplyRequestSchema; output: typeof GetZippedAssetSupplyResponseSchema; }; /** * Get grouped zipped asset supply chart columns. * * @generated from rpc chain.analytics.v1.ChainAnalyticsService.GetZippedAssetSupplyGroup */ getZippedAssetSupplyGroup: { methodKind: "unary"; input: typeof GetZippedAssetSupplyGroupRequestSchema; output: typeof GetZippedAssetSupplyGroupResponseSchema; }; /** * Get unified asset total balance chart columns. * * @generated from rpc chain.analytics.v1.ChainAnalyticsService.GetUnifiedAssetBalances */ getUnifiedAssetBalances: { methodKind: "unary"; input: typeof GetUnifiedAssetBalancesRequestSchema; output: typeof GetUnifiedAssetBalancesResponseSchema; }; }>; //#endregion export { ChainAnalyticsRange, ChainAnalyticsRangeSchema, ChainAnalyticsService, GetUnifiedAssetBalancesRequest, GetUnifiedAssetBalancesRequestSchema, GetUnifiedAssetBalancesResponse, GetUnifiedAssetBalancesResponseSchema, GetZippedAssetSupplyGroupRequest, GetZippedAssetSupplyGroupRequestSchema, GetZippedAssetSupplyGroupResponse, GetZippedAssetSupplyGroupResponseSchema, GetZippedAssetSupplyRequest, GetZippedAssetSupplyRequestSchema, GetZippedAssetSupplyResponse, GetZippedAssetSupplyResponseSchema, ZippedAssetSupplySeries, ZippedAssetSupplySeriesSchema, analytics_read_pb_d_exports, file_chain_analytics_v1_analytics_read }; //# sourceMappingURL=analytics_read_pb.d.ts.map