UNPKG

blockfrost-js-ratelimited

Version:

A JavaScript/TypeScript SDK for interacting with the https://blockfrost.io API

35 lines (34 loc) 862 B
import { Responses } from '../'; export declare type Result = { address: string; path: string; data: Responses['address_content'] | 'empty'; }; export interface Balance { unit: string; quantity: string; } export declare type Type = 1 | 0; export declare type Bundle = { address: string; path: string; promise: Promise<Responses['address_content']>; }[]; declare type UtxoContent = Responses['address_utxo_content']; export interface UtxosData extends UtxoContent { blockInformation: Responses['block_content']; } export interface AddressData { address: string; path: string; transfers: number; balance?: string; sent?: string; received?: string; } export declare type GetAddressDataBundle = { address: string; path: string; promise: Promise<Responses['address_txs_content']>; }; export {};