export type ActiveStakeAmount = { readonly amount_in_lovelaces: number } export type AddressStakeAmount = { readonly stake_address: string readonly amount_in_lovelaces: number } export type Block = { readonly number: number readonly epoch_number: number readonly slot_number: number readonly epoch_slot_number: number readonly size: number readonly transaction_count: number readonly time: string } export type CnftMetadataV001 = { readonly policyId: string readonly tokens: map[string] readonly asset: CnftMetadataV001Asset } export type CnftMetadataV001Asset = { readonly assetName?: string readonly attributes?: JSONValue readonly ipfs: string readonly mimeType?: string } export type DayBlock = { readonly first: Block readonly last: Block } export type Delegation = { readonly staking_address: string readonly delegations: readonly StakepoolDelegation[] } export type DelegatorsCount = { readonly delegators_count_total: number } export type Epoch = { readonly out_sum: number readonly fees: number readonly tx_count: number readonly blk_count: number readonly number: number readonly start_time: string readonly end_time: string } export type GenericError = { readonly description: string } export type Healthcheck = { readonly status: string } export type NativeAsset = { readonly transaction_id: string readonly policy_id: string readonly token_name: string readonly metadata: JSONValue readonly block_number: number readonly epoch_slot_number: number readonly epoch_number: number readonly invalid_before?: number readonly invalid_hereafter?: number readonly quantity: number } export type NativeAssetDetails = { readonly policy_id: string readonly asset_name: string readonly metadata: JSONValue readonly minted_at: string readonly last_minted_at: string readonly first_minting_tx_block: number readonly last_minting_tx_block: number readonly minting_tx_hash: string readonly circulating_supply: number readonly fingerprint: string } export type NativeAssetDetailsRequest = { readonly policy_id: string readonly asset_names?: readonly string[] } export type NativeAssetId = { readonly policy_id: string readonly asset_name: string readonly block_number: number readonly block_time: string readonly fingerprint: string } export type NftDetails = { readonly policy_id: string readonly asset_name_raw: string readonly asset_name?: string readonly metadata: JSONValue readonly minted_at: string readonly minted_at_block: number readonly minting_tx_hash: string readonly amount: number readonly fingerprint: string } export type NftMetadata = { readonly name?: string readonly image?: string readonly mediaType?: string readonly files?: readonly NftMetadataFile[] } export type NftMetadataFile = { readonly name?: string readonly src?: string readonly mediaType?: string } export type NftMetadataFilesAsObject = { readonly name?: string readonly image?: string readonly mediaType?: string readonly files?: NftMetadataFile } export type NftMetadataImgArray = { readonly name?: string readonly image?: readonly string[] readonly mediaType?: string readonly files?: readonly NftMetadataFile[] } export type NftMetadataNoFiles = { readonly name?: string readonly image?: string readonly mediaType?: string } export type PoolRetiring = { readonly ticker_name?: string readonly pool_id: string readonly certificate_index: number readonly epoch_number: number readonly block_number: number readonly retiring_at_epoch: number readonly tx_hash: string } export type PoolUpdate = { readonly epoch_number: number readonly block_number: number readonly tx_hash: string readonly pool_ticker_name?: string readonly pool_bech32_id: string readonly certificate_index: number readonly vrf_key_hash: string readonly pledge: number readonly reward_address: string readonly active_epoch_number: number readonly margin: number readonly fixed_cost: number } export type Reward = { readonly staking_address: string readonly epoch: number readonly amount: number readonly pool_id: string } export type Sigma = { readonly sigma: number readonly epoch: number readonly total_staked: number readonly active_stake: number readonly nonce: string readonly d: number } export type Stakepool = { readonly id: string readonly pool_id_bech32: string readonly metadata?: StakepoolMetadata readonly cost: number readonly margin: number readonly pledge: number readonly active_stake: number readonly saturation: number readonly retiring_at_epoch?: number } export type StakepoolDelegation = { readonly stakepool: Stakepool readonly epoch: number } export type StakepoolMetadata = { readonly name: string readonly ticker: string readonly homepage: string readonly description: string readonly extended?: string } export type Transaction = { readonly hash: string readonly block: number readonly timestamp: string } export type TransactionHistoryRequest = { readonly addresses: readonly string[] } export type WalletBalance = { readonly balance: number } export type Country = 'IE' | 'UK' export type JSONValue = | string | number | boolean | { readonly [x: string]: JSONValue } | readonly JSONValue[]