/** * Satstream API * Satstream API * * OpenAPI spec version: 1.0 * Contact: team@satstream.io * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { GetAddressBalanceResponse } from '../models'; import { GetAddressDeltasResponse } from '../models'; import { GetAddressResponse } from '../models'; import { GetAddressRuneDeltasResponse } from '../models'; import { GetAddressUTXOsResponse } from '../models'; import { ValidateAddressResponse } from '../models'; /** * AddressesApi - axios parameter creator * @export */ export declare const AddressesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Get detailed information about a specific address * @summary Get address info * @param {string} address Address * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddress: (address: string, options?: AxiosRequestConfig) => Promise; /** * Get the total BTC balance in satoshis of an address by summing all its deltas * @summary Get address balance * @param {string} address Address * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressBalance: (address: string, options?: AxiosRequestConfig) => Promise; /** * Get deltas for a specific address with pagination * @summary Get address deltas * @param {string} address Address * @param {number} [pageSize] Number of results per page (default: 100, max: 1000) * @param {number} [startHeight] Start block height * @param {number} [endHeight] End block height * @param {string} [cursor] Base64 encoded cursor for pagination * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressDeltas: (address: string, pageSize?: number, startHeight?: number, endHeight?: number, cursor?: string, options?: AxiosRequestConfig) => Promise; /** * Get rune deltas for a specific address with pagination * @summary Get address rune deltas * @param {string} address Address * @param {number} [pageSize] Number of results per page (default: 100, max: 1000) * @param {number} [startHeight] Start block height * @param {number} [endHeight] End block height * @param {string} [cursor] Cursor for pagination * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressRuneDeltas: (address: string, pageSize?: number, startHeight?: number, endHeight?: number, cursor?: string, options?: AxiosRequestConfig) => Promise; /** * Retrieve UTXOs held by a specific address with optional type filtering * @summary Get UTXOs for an address * @param {string} address Address * @param {string} [type] UTXO Type * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressUtxos: (address: string, type?: string, options?: AxiosRequestConfig) => Promise; /** * Returns information about the given Bitcoin address * @summary Validate address * @param {string} address Bitcoin address to validate * @param {*} [options] Override http request option. * @throws {RequiredError} */ validateAddress: (address: string, options?: AxiosRequestConfig) => Promise; }; /** * AddressesApi - functional programming interface * @export */ export declare const AddressesApiFp: (configuration?: Configuration) => { /** * Get detailed information about a specific address * @summary Get address info * @param {string} address Address * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddress(address: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Get the total BTC balance in satoshis of an address by summing all its deltas * @summary Get address balance * @param {string} address Address * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressBalance(address: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Get deltas for a specific address with pagination * @summary Get address deltas * @param {string} address Address * @param {number} [pageSize] Number of results per page (default: 100, max: 1000) * @param {number} [startHeight] Start block height * @param {number} [endHeight] End block height * @param {string} [cursor] Base64 encoded cursor for pagination * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressDeltas(address: string, pageSize?: number, startHeight?: number, endHeight?: number, cursor?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Get rune deltas for a specific address with pagination * @summary Get address rune deltas * @param {string} address Address * @param {number} [pageSize] Number of results per page (default: 100, max: 1000) * @param {number} [startHeight] Start block height * @param {number} [endHeight] End block height * @param {string} [cursor] Cursor for pagination * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressRuneDeltas(address: string, pageSize?: number, startHeight?: number, endHeight?: number, cursor?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Retrieve UTXOs held by a specific address with optional type filtering * @summary Get UTXOs for an address * @param {string} address Address * @param {string} [type] UTXO Type * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressUtxos(address: string, type?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * Returns information about the given Bitcoin address * @summary Validate address * @param {string} address Bitcoin address to validate * @param {*} [options] Override http request option. * @throws {RequiredError} */ validateAddress(address: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; }; /** * AddressesApi - factory interface * @export */ export declare const AddressesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Get detailed information about a specific address * @summary Get address info * @param {string} address Address * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddress(address: string, options?: AxiosRequestConfig): Promise>; /** * Get the total BTC balance in satoshis of an address by summing all its deltas * @summary Get address balance * @param {string} address Address * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressBalance(address: string, options?: AxiosRequestConfig): Promise>; /** * Get deltas for a specific address with pagination * @summary Get address deltas * @param {string} address Address * @param {number} [pageSize] Number of results per page (default: 100, max: 1000) * @param {number} [startHeight] Start block height * @param {number} [endHeight] End block height * @param {string} [cursor] Base64 encoded cursor for pagination * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressDeltas(address: string, pageSize?: number, startHeight?: number, endHeight?: number, cursor?: string, options?: AxiosRequestConfig): Promise>; /** * Get rune deltas for a specific address with pagination * @summary Get address rune deltas * @param {string} address Address * @param {number} [pageSize] Number of results per page (default: 100, max: 1000) * @param {number} [startHeight] Start block height * @param {number} [endHeight] End block height * @param {string} [cursor] Cursor for pagination * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressRuneDeltas(address: string, pageSize?: number, startHeight?: number, endHeight?: number, cursor?: string, options?: AxiosRequestConfig): Promise>; /** * Retrieve UTXOs held by a specific address with optional type filtering * @summary Get UTXOs for an address * @param {string} address Address * @param {string} [type] UTXO Type * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddressUtxos(address: string, type?: string, options?: AxiosRequestConfig): Promise>; /** * Returns information about the given Bitcoin address * @summary Validate address * @param {string} address Bitcoin address to validate * @param {*} [options] Override http request option. * @throws {RequiredError} */ validateAddress(address: string, options?: AxiosRequestConfig): Promise>; }; /** * AddressesApi - object-oriented interface * @export * @class AddressesApi * @extends {BaseAPI} */ export declare class AddressesApi extends BaseAPI { /** * Get detailed information about a specific address * @summary Get address info * @param {string} address Address * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ getAddress(address: string, options?: AxiosRequestConfig): Promise>; /** * Get the total BTC balance in satoshis of an address by summing all its deltas * @summary Get address balance * @param {string} address Address * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ getAddressBalance(address: string, options?: AxiosRequestConfig): Promise>; /** * Get deltas for a specific address with pagination * @summary Get address deltas * @param {string} address Address * @param {number} [pageSize] Number of results per page (default: 100, max: 1000) * @param {number} [startHeight] Start block height * @param {number} [endHeight] End block height * @param {string} [cursor] Base64 encoded cursor for pagination * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ getAddressDeltas(address: string, pageSize?: number, startHeight?: number, endHeight?: number, cursor?: string, options?: AxiosRequestConfig): Promise>; /** * Get rune deltas for a specific address with pagination * @summary Get address rune deltas * @param {string} address Address * @param {number} [pageSize] Number of results per page (default: 100, max: 1000) * @param {number} [startHeight] Start block height * @param {number} [endHeight] End block height * @param {string} [cursor] Cursor for pagination * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ getAddressRuneDeltas(address: string, pageSize?: number, startHeight?: number, endHeight?: number, cursor?: string, options?: AxiosRequestConfig): Promise>; /** * Retrieve UTXOs held by a specific address with optional type filtering * @summary Get UTXOs for an address * @param {string} address Address * @param {string} [type] UTXO Type * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ getAddressUtxos(address: string, type?: string, options?: AxiosRequestConfig): Promise>; /** * Returns information about the given Bitcoin address * @summary Validate address * @param {string} address Bitcoin address to validate * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ validateAddress(address: string, options?: AxiosRequestConfig): Promise>; }