import { APIResource } from "../../core/resource.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class Issuers extends APIResource { /** * To query the market data (market cap, volume, etc.) and tokens of an issuer * based on a particular issuer ID */ getID(id: string, options?: RequestOptions): APIPromise; /** * To query all the supported RWA issuers on CoinGecko */ getList(options?: RequestOptions): APIPromise; } export interface IssuerGetIDResponse { /** * Issuer ID */ id: string; /** * Issuer market cap in USD */ market_cap: number | null; /** * 24-hour issuer market cap change in USD */ market_cap_change_24h: number | null; /** * Issuer name */ name: string; /** * Issuer last updated timestamp */ updated_at: string; /** * 24-hour issuer trading volume in USD */ volume_24h: number | null; /** * Issuer image URLs */ image?: IssuerGetIDResponse.Image; /** * Tokens issued by this issuer */ tokens?: Array; } export declare namespace IssuerGetIDResponse { /** * Issuer image URLs */ interface Image { /** * Large image URL */ large?: string; /** * Small image URL */ small?: string; /** * Thumbnail image URL */ thumb?: string; } interface Token { /** * Token ID */ id?: string; /** * Token name */ name?: string; /** * Token asset platform and contract address */ platforms?: { [key: string]: string; }; /** * Token symbol */ symbol?: string; } } export type IssuerGetListResponse = Array; export declare namespace IssuerGetListResponse { interface IssuerGetListResponseItem { /** * Issuer ID */ id: string; /** * Issuer name */ name: string; } } export declare namespace Issuers { export { type IssuerGetIDResponse as IssuerGetIDResponse, type IssuerGetListResponse as IssuerGetListResponse, }; } //# sourceMappingURL=issuers.d.mts.map