/** * Audius API * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { UserCoinAccount } from './UserCoinAccount'; /** * * @export * @interface UserCoin */ export interface UserCoin { /** * The coin mint address * @type {string} * @memberof UserCoin */ mint: string; /** * The coin symbol * @type {string} * @memberof UserCoin */ ticker: string; /** * The number of decimals for the coin * @type {number} * @memberof UserCoin */ decimals: number; /** * The ID of the user associated with the coin * @type {string} * @memberof UserCoin */ ownerId: string; /** * URL to the coin's logo image * @type {string} * @memberof UserCoin */ logoUri?: string | null; /** * URL to the coin's banner image * @type {string} * @memberof UserCoin */ bannerImageUrl?: string | null; /** * Whether the coin has a Discord server * @type {boolean} * @memberof UserCoin */ hasDiscord: boolean; /** * The balance of the coin in the user's account (in wei) * @type {number} * @memberof UserCoin */ balance: number; /** * The balance of the coin in the user's account in USD * @type {number} * @memberof UserCoin */ balanceUsd: number; /** * Per-token-account breakdown of the user's holdings for this coin. Populated by GET /v1/users/{id}/coins; omitted by GET /v1/wallet/{walletId}/coins. * @type {Array} * @memberof UserCoin */ accounts?: Array; } /** * Check if a given object implements the UserCoin interface. */ export declare function instanceOfUserCoin(value: object): value is UserCoin; export declare function UserCoinFromJSON(json: any): UserCoin; export declare function UserCoinFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserCoin; export declare function UserCoinToJSON(value?: UserCoin | null): any;