import { AxiosRequestConfig, AxiosInstance } from 'axios'; type MaestroSupportedNetworks = 'Mainnet' | 'Preprod' | 'Preview'; interface ConfigurationParameters { readonly apiKey?: string; readonly baseUrl?: string; readonly network: MaestroSupportedNetworks; readonly baseOptions?: AxiosRequestConfig; readonly axiosInstance?: AxiosInstance; } declare class Configuration { /** * parameter for apiKey security * @param name security name * @memberof Configuration */ readonly apiKey: string; /** * base url of network request * * @type {string} * @memberof Configuration */ readonly baseUrl: string; /** * base options for axios calls * * @type {AxiosRequestConfig} * @memberof Configuration */ readonly baseOptions?: AxiosRequestConfig; readonly axiosInstance: AxiosInstance; constructor(param: ConfigurationParameters); /** * Check if the given MIME is a JSON MIME. * JSON MIME examples: * application/json * application/json; charset=UTF8 * APPLICATION/JSON * application/vnd.company+json * @param mime - MIME (Multipurpose Internet Mail Extensions) * @return True if the given MIME is JSON, false otherwise. */ isJsonMime(mime: string): boolean; } /** * * @export * @class BaseAPI */ declare class BaseAPI { protected configuration: Configuration; constructor(configuration: Configuration); } /** * Query parameters for accountAddresses. * @export * @interface AccountAddressesQueryParams * */ interface AccountAddressesQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof AccountAddressesQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AccountAddressesQueryParams */ cursor?: string | null; /** * Include addresses that have been seen on-chain but have no balance. * @type {boolean | null} * @memberof AccountAddressesQueryParams */ include_empty?: boolean | null; } /** * Query parameters for accountAssets. * @export * @interface AccountAssetsQueryParams * */ interface AccountAssetsQueryParams { /** * Filter results to only show assets of the specified policy * @type {string | null} * @memberof AccountAssetsQueryParams */ policy?: string | null; /** * The max number of results per page. * @type {number | null} * @memberof AccountAssetsQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AccountAssetsQueryParams */ cursor?: string | null; } /** * Query parameters for accountHistory. * @export * @interface AccountHistoryQueryParams * */ interface AccountHistoryQueryParams { /** * Fetch result for only a specific epoch * @type {string | null} * @memberof AccountHistoryQueryParams */ epochNo?: number | null; /** * The max number of results per page. * @type {number | null} * @memberof AccountHistoryQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AccountHistoryQueryParams */ cursor?: string | null; } /** * Query parameters for accountRewards. * @export * @interface AccountRewardsQueryParams * */ interface AccountRewardsQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof AccountRewardsQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AccountRewardsQueryParams */ cursor?: string | null; } /** * Query parameters for accountUpdates. * @export * @interface AccountUpdatesQueryParams * */ interface AccountUpdatesQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof AccountUpdatesQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AccountUpdatesQueryParams */ cursor?: string | null; } /** * Query parameters for accountDelegationHistory. * @export * @interface AccountDelegationHistoryQueryParams * */ interface AccountDelegationHistoryQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof AccountDelegationHistoryQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AccountDelegationHistoryQueryParams */ cursor?: string | null; } /** * AccountsApi - object-oriented interface * @export * @class AccountsApi * @extends {BaseAPI} */ declare class AccountsApi extends BaseAPI { /** * Returns a list of addresses seen on-chain which use the specified stake key * @summary Stake account addresses * @param {string} stakeAddr Bech32 encoded stake/reward address (\'stake1...\') * @param {AccountAddressesQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountsApi */ accountAddresses(stakeAddr: string, queryParams?: AccountAddressesQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns a list of native assets which are owned by addresses with the specified stake key * @summary Stake account assets * @param {string} stakeAddr Bech32 encoded reward/stake address (\'stake1...\') * @param {AccountAssetsQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountsApi */ accountAssets(stakeAddr: string, queryParams?: AccountAssetsQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns per-epoch history for the specified stake key * @summary Stake account history * @param {string} stakeAddr Bech32 encoded stake/reward address (\'stake1...\') * @param {AccountHistoryQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountsApi */ accountHistory(stakeAddr: string, queryParams?: AccountHistoryQueryParams, options?: AxiosRequestConfig): Promise; /** * * Returns list of delegation actions relating to a stake account * @summary Stake account history * @param {string} stakeAddr Bech32 encoded stake/reward address (\'stake1...\') * @param {AccountDelegationHistoryQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountsApi */ accountDelegationHistory(stakeAddr: string, queryParams?: AccountDelegationHistoryQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns various information regarding a stake account * @summary Stake account information * @param {string} stakeAddr Bech32 encoded reward/stake address (\'stake1...\') * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountsApi */ accountInfo(stakeAddr: string, options?: AxiosRequestConfig): Promise; /** * Returns a list of staking-related rewards for the specified stake key (pool `member` or `leader` rewards, deposit `refund`) * @summary Stake account rewards * @param {string} stakeAddr Bech32 encoded stake/reward address (\'stake1...\') * @param {AccountRewardsQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountsApi */ accountRewards(stakeAddr: string, queryParams?: AccountRewardsQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns a list of updates relating to the specified stake key ( `registration`, `deregistration`, `delegation`, `withdrawal`) * @summary Stake account updates * @param {string} stakeAddr Bech32 encoded stake/reward address (\'stake1...\') * @param {AccountUpdatesQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AccountsApi */ accountUpdates(stakeAddr: string, queryParams?: AccountUpdatesQueryParams, options?: AxiosRequestConfig): Promise; } /** * @export */ declare const TxsByAddressOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type TxsByAddressOrderEnum = (typeof TxsByAddressOrderEnum)[keyof typeof TxsByAddressOrderEnum]; /** * @export */ declare const TxsByPaymentCredOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type TxsByPaymentCredOrderEnum = (typeof TxsByPaymentCredOrderEnum)[keyof typeof TxsByPaymentCredOrderEnum]; /** * @export */ declare const UtxoRefsAtAddressOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type UtxoRefsAtAddressOrderEnum = (typeof UtxoRefsAtAddressOrderEnum)[keyof typeof UtxoRefsAtAddressOrderEnum]; /** * @export */ declare const UtxosByAddressOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type UtxosByAddressOrderEnum = (typeof UtxosByAddressOrderEnum)[keyof typeof UtxosByAddressOrderEnum]; /** * @export */ declare const UtxosByPaymentCredOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type UtxosByPaymentCredOrderEnum = (typeof UtxosByPaymentCredOrderEnum)[keyof typeof UtxosByPaymentCredOrderEnum]; /** * Query parameters for txsByAddress. * @export * @interface TxsByAddressQueryParams * */ interface TxsByAddressQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof TxsByAddressQueryParams */ count?: number | null; /** * The order in which the results are sorted, by transaction age * @type {TxsByAddressOrderEnum} * @memberof TxsByAddressQueryParams */ order?: TxsByAddressOrderEnum; /** * Return only transactions minted on or after a specific slot * @type {number | null} * @memberof TxsByAddressQueryParams */ from?: number | null; /** * Return only transactions minted on or before a specific slot * @type {number | null} * @memberof TxsByAddressQueryParams */ to?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof TxsByAddressQueryParams */ cursor?: string | null; } /** * Query parameters for txsByPaymentCred. * @export * @interface TxsByPaymentCredQueryParams * */ interface TxsByPaymentCredQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof TxsByPaymentCredQueryParams */ count?: number | null; /** * The order in which the results are sorted, by transaction age * @type {TxsByPaymentCredOrderEnum} * @memberof TxsByPaymentCredQueryParams */ order?: TxsByPaymentCredOrderEnum; /** * Return only transactions minted on or after a specific slot * @type {number | null} * @memberof TxsByPaymentCredQueryParams */ from?: number | null; /** * Return only transactions minted on or before a specific slot * @type {number | null} * @memberof TxsByPaymentCredQueryParams */ to?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof TxsByPaymentCredQueryParams */ cursor?: string | null; } /** * Query parameters for txsByPaymentCreds. * @export * @interface TxsByPaymentCredsQueryParams * */ interface TxsByPaymentCredsQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof TxsByPaymentCredsQueryParams */ count?: number | null; /** * The order in which the results are sorted, by transaction age * @type {TxsByPaymentCredOrderEnum} * @memberof TxsByPaymentCredsQueryParams */ order?: TxsByPaymentCredOrderEnum; /** * Return only transactions minted on or after a specific slot * @type {number | null} * @memberof TxsByPaymentCredsQueryParams */ from?: number | null; /** * Return only transactions minted on or before a specific slot * @type {number | null} * @memberof TxsByPaymentCredsQueryParams */ to?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof TxsByPaymentCredsQueryParams */ cursor?: string | null; } /** * Query parameters for utxoRefsAtAddress. * @export * @interface UtxoRefsAtAddressQueryParams * */ interface UtxoRefsAtAddressQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof UtxoRefsAtAddressQueryParams */ count?: number | null; /** * The order in which the results are sorted (by slot at which UTxO was produced) * @type {UtxoRefsAtAddressOrderEnum} * @memberof UtxoRefsAtAddressQueryParams */ order?: UtxoRefsAtAddressOrderEnum; /** * Return only UTxOs created on or after a specific slot * @type {number | null} * @memberof UtxoRefsAtAddressQueryParams */ from?: number | null; /** * Return only UTxOs created before a specific slot * @type {number | null} * @memberof UtxoRefsAtAddressQueryParams */ to?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof UtxoRefsAtAddressQueryParams */ cursor?: string | null; } /** * Query parameters for utxosByAddress. * @export * @interface UtxosByAddressQueryParams * */ interface UtxosByAddressQueryParams { /** * Return only UTxOs which contain some of a specific asset (asset formatted as concatenation of hex encoded policy and asset name) * @type {string | null} * @memberof UtxosByAddressQueryParams */ asset?: string | null; /** * Try find and include the corresponding datums for datum hashes * @type {boolean | null} * @memberof UtxosByAddressQueryParams */ resolve_datums?: boolean | null; /** * Include the CBOR encodings of the transaction outputs in the response * @type {boolean | null} * @memberof UtxosByAddressQueryParams */ with_cbor?: boolean | null; /** * The max number of results per page. * @type {number | null} * @memberof UtxosByAddressQueryParams */ count?: number | null; /** * The order in which the results are sorted (by slot at which UTxO was produced) * @type {UtxosByAddressOrderEnum} * @memberof UtxosByAddressQueryParams */ order?: UtxosByAddressOrderEnum; /** * Return only UTxOs created on or after a specific slot * @type {number | null} * @memberof UtxosByAddressQueryParams */ from?: number | null; /** * Return only UTxOs created before a specific slot * @type {number | null} * @memberof UtxosByAddressQueryParams */ to?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof UtxosByAddressQueryParams */ cursor?: string | null; } /** * Query parameters for utxosByAddresses. * @export * @interface UtxosByAddressesQueryParams * */ interface UtxosByAddressesQueryParams { /** * Try find and include the corresponding datums for datum hashes * @type {boolean | null} * @memberof UtxosByAddressesQueryParams */ resolve_datums?: boolean | null; /** * Include the CBOR encodings of the transaction outputs in the response * @type {boolean | null} * @memberof UtxosByAddressesQueryParams */ with_cbor?: boolean | null; /** * The max number of results per page. * @type {number | null} * @memberof UtxosByAddressesQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof UtxosByAddressesQueryParams */ cursor?: string | null; } /** * Query parameters for utxosByPaymentCred. * @export * @interface UtxosByPaymentCredQueryParams * */ interface UtxosByPaymentCredQueryParams { /** * Return only UTxOs which contain some of a specific asset (asset formatted as concatenation of hex encoded policy and asset name) * @type {string | null} * @memberof UtxosByAddressQueryParams */ asset?: string | null; /** * Try find and include the corresponding datums for datum hashes * @type {boolean | null} * @memberof UtxosByPaymentCredQueryParams */ resolve_datums?: boolean | null; /** * Include the CBOR encodings of the transaction outputs in the response * @type {boolean | null} * @memberof UtxosByPaymentCredQueryParams */ with_cbor?: boolean | null; /** * The max number of results per page. * @type {number | null} * @memberof UtxosByPaymentCredQueryParams */ count?: number | null; /** * The order in which the results are sorted (by slot at which UTxO was produced) * @type {UtxosByPaymentCredOrderEnum} * @memberof UtxosByPaymentCredQueryParams */ order?: UtxosByPaymentCredOrderEnum; /** * Return only UTxOs created on or after a specific slot * @type {number | null} * @memberof UtxosByPaymentCredQueryParams */ from?: number | null; /** * Return only UTxOs created on or before a specific slot * @type {number | null} * @memberof UtxosByPaymentCredQueryParams */ to?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof UtxosByPaymentCredQueryParams */ cursor?: string | null; } /** * AddressesApi - object-oriented interface * @export * @class AddressesApi * @extends {BaseAPI} */ declare class AddressesApi extends BaseAPI { /** * Returns the different information encoded within a Cardano address, including details of the payment and delegation parts of the address * @summary Decode address * @param {string} address Address in bech32/hex/base58 format * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ decodeAddress(address: string, options?: AxiosRequestConfig): Promise; /** * Return total amount of assets, including ADA, in UTxOs controlled by a specific payment credential * @summary Address Balance * @param {string} credential Payment credential in bech32 format * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ addressBalance(credential: string, options?: AxiosRequestConfig): Promise; /** * Returns the number of transactions in which the address spent or received some funds. Specifically, the number of transactions where: the address controlled at least one of the transaction inputs and/or receives one of the outputs AND the transaction is phase-2 valid, OR, the address controlled at least one of the collateral inputs and/or receives the collateral return output AND the transaction is phase-2 invalid. [Read more](https://docs.cardano.org/plutus/collateral-mechanism/). * @summary Address transaction count * @param {string} address Address in bech32 format * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ txCountByAddress(address: string, options?: AxiosRequestConfig): Promise; /** * Returns transactions in which the specified address spent or received funds. Specifically, the transactions where: the address controlled at least one of the transaction inputs and/or receives one of the outputs AND the transaction is phase-2 valid, OR, the address controlled at least one of the collateral inputs and/or receives the collateral return output AND the transaction is phase-2 invalid. [Read more](https://docs.cardano.org/plutus/collateral-mechanism/). * @summary Address transactions * @param {string} address Address in bech32 format * @param {TxsByAddressQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ txsByAddress(address: string, queryParams?: TxsByAddressQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns transactions in which the specified payment credential spent or received funds. Specifically, the transactions where: the payment credential was used in an address which controlled at least one of the transaction inputs and/or receives one of the outputs AND the transaction is phase-2 valid, OR, the address controlled at least one of the collateral inputs and/or receives the collateral return output AND the transaction is phase-2 invalid. [Read more](https://docs.cardano.org/plutus/collateral-mechanism/). * @summary Payment credential transactions * @param {string} credential Payment credential in bech32 format * @param {TxsByPaymentCredQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ txsByPaymentCred(credential: string, queryParams?: TxsByPaymentCredQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns transactions in which the specified payment credentials spent or received funds. Specifically, the transactions where: the payment credentials were used in an address which controlled at least one of the transaction inputs and/or receives one of the outputs AND the transaction is phase-2 valid, OR, the address controlled at least one of the collateral inputs and/or receives the collateral return output AND the transaction is phase-2 invalid. [Read more](https://docs.cardano.org/plutus/collateral-mechanism/). * @summary Payment credentials transactions * @param {Array} requestBody Payment credentials in bech32 format * @param {TxsByPaymentCredQueryParams} [localVarQueryParameter] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ txsByPaymentCreds(requestBody: Array, queryParams?: TxsByPaymentCredsQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns references (pair of transaction hash and output index in transaction) for UTxOs controlled by the specified address * @summary UTxO references at an address * @param {string} address Address in bech32 format * @param {UtxoRefsAtAddressQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ utxoRefsAtAddress(address: string, queryParams?: TxsByPaymentCredQueryParams, options?: AxiosRequestConfig): Promise; /** * Return detailed information on UTxOs controlled by an address * @summary UTxOs at an address * @param {string} address Address in bech32 format * @param {UtxosByAddressQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ utxosByAddress(address: string, queryParams?: UtxosByAddressQueryParams, options?: AxiosRequestConfig): Promise; /** * Return detailed information on UTxOs which are controlled by some address in the specified list of addresses * @summary UTxOs at multiple addresses * @param {Array} requestBody * @param {UtxosByAddressesQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ utxosByAddresses(requestBody: Array, queryParams?: UtxosByAddressesQueryParams, options?: AxiosRequestConfig): Promise; /** * Return detailed information on UTxOs controlled by addresses which use the specified payment credential * @summary UTxOs by payment credential * @param {string} credential Payment credential in bech32 format * @param {UtxosByPaymentCredQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ utxosByPaymentCred(credential: string, queryParams?: UtxosByPaymentCredQueryParams, options?: AxiosRequestConfig): Promise; /** * Return detailed information on UTxOs which are controlled by some payment creds in the specified list of payment creds * @summary UTxOs at multiple payment creds * @param {Array} requestBody * @param {UtxosByAddressesQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AddressesApi */ utxosByPaymentCreds(requestBody: Array, queryParams?: UtxosByAddressesQueryParams, options?: AxiosRequestConfig): Promise; } /** * @export */ declare const AssetTxsOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type AssetTxsOrderEnum = (typeof AssetTxsOrderEnum)[keyof typeof AssetTxsOrderEnum]; /** * @export */ declare const AssetUpdatesOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type AssetUpdatesOrderEnum = (typeof AssetUpdatesOrderEnum)[keyof typeof AssetUpdatesOrderEnum]; /** * @export */ declare const AssetUtxosOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type AssetUtxosOrderEnum = (typeof AssetUtxosOrderEnum)[keyof typeof AssetUtxosOrderEnum]; /** * @export */ declare const PolicyTxsOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type PolicyTxsOrderEnum = (typeof PolicyTxsOrderEnum)[keyof typeof PolicyTxsOrderEnum]; /** * @export */ declare const PolicyUtxosOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type PolicyUtxosOrderEnum = (typeof PolicyUtxosOrderEnum)[keyof typeof PolicyUtxosOrderEnum]; /** * Query parameters for assetAccounts. * @export * @interface AssetAccountsQueryParams * */ interface AssetAccountsQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof AssetAccountsQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AssetAccountsQueryParams */ cursor?: string | null; } /** * Query parameters for assetAddresses. * @export * @interface AssetAddressesQueryParams * */ interface AssetAddressesQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof AssetAddressesQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AssetAddressesQueryParams */ cursor?: string | null; } /** * Query parameters for assetTxs. * @export * @interface AssetTxsQueryParams * */ interface AssetTxsQueryParams { /** * Return only transactions after supplied block height * @type {number | null} * @memberof AssetTxsQueryParams */ fromHeight?: number | null; /** * The max number of results per page. * @type {number | null} * @memberof AssetTxsQueryParams */ count?: number | null; /** * The order in which the results are sorted (by block height) * @type {AssetTxsOrderEnum} * @memberof AssetTxsQueryParams */ order?: AssetTxsOrderEnum; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AssetTxsQueryParams */ cursor?: string | null; } /** * Query parameters for assetUpdates. * @export * @interface AssetUpdatesQueryParams * */ interface AssetUpdatesQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof AssetUpdatesQueryParams */ count?: number | null; /** * The order in which the results are sorted (by block height) * @type {AssetUpdatesOrderEnum} * @memberof AssetUpdatesQueryParams */ order?: AssetUpdatesOrderEnum; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AssetUpdatesQueryParams */ cursor?: string | null; } /** * Query parameters for assetUtxos. * @export * @interface AssetUtxosQueryParams * */ interface AssetUtxosQueryParams { /** * Return only UTxOs controlled by a specific address (bech32 encoding) * @type {string | null} * @memberof AssetUtxosQueryParams */ address?: string | null; /** * The max number of results per page. * @type {number | null} * @memberof AssetUtxosQueryParams */ count?: number | null; /** * The order in which the results are sorted (by slot at which UTxO was produced) * @type {AssetUtxosOrderEnum} * @memberof AssetUtxosQueryParams */ order?: AssetUtxosOrderEnum; /** * Return only UTxOs created on or after a specific slot * @type {number | null} * @memberof AssetUtxosQueryParams */ from?: number | null; /** * Return only UTxOs created before a specific slot * @type {number | null} * @memberof AssetUtxosQueryParams */ to?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof AssetUtxosQueryParams */ cursor?: string | null; } /** * Query parameters for policyAccounts. * @export * @interface PolicyAccountsQueryParams * */ interface PolicyAccountsQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof PolicyAccountsQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof PolicyAccountsQueryParams */ cursor?: string | null; } /** * Query parameters for policyAddresses. * @export * @interface PolicyAddressesQueryParams * */ interface PolicyAddressesQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof PolicyAddressesQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof PolicyAddressesQueryParams */ cursor?: string | null; } /** * Query parameters for policyInfo. * @export * @interface PolicyInfoQueryParams * */ interface PolicyInfoQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof PolicyInfoQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof PolicyInfoQueryParams */ cursor?: string | null; } /** * Query parameters for policyTxs. * @export * @interface PolicyTxsQueryParams * */ interface PolicyTxsQueryParams { /** * Return only transactions after supplied block height * @type {number | null} * @memberof PolicyTxsQueryParams */ fromHeight?: number | null; /** * The max number of results per page. * @type {number | null} * @memberof PolicyTxsQueryParams */ count?: number | null; /** * The order in which the results are sorted (by block height) * @type {PolicyTxsOrderEnum} * @memberof PolicyTxsQueryParams */ order?: PolicyTxsOrderEnum; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof PolicyTxsQueryParams */ cursor?: string | null; } /** * Query parameters for policyUtxos. * @export * @interface PolicyUtxosQueryParams * */ interface PolicyUtxosQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof PolicyUtxosQueryParams */ count?: number | null; /** * The order in which the results are sorted (by slot at which UTxO was produced) * @type {PolicyUtxosOrderEnum} * @memberof PolicyUtxosQueryParams */ order?: PolicyUtxosOrderEnum; /** * Return only UTxOs created on or after a specific slot * @type {number | null} * @memberof PolicyUtxosQueryParams */ from?: number | null; /** * Return only UTxOs created before a specific slot * @type {number | null} * @memberof PolicyUtxosQueryParams */ to?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof PolicyUtxosQueryParams */ cursor?: string | null; } /** * AssetsApi - object-oriented interface * @export * @class AssetsApi * @extends {BaseAPI} */ declare class AssetsApi extends BaseAPI { /** * Returns a list of accounts (as stake/reward addresses) associated with addresses which control some of the specified asset; in other words, instead of returning the addresses which hold some of the asset, the addresses are merged by their delegation part/account. Assets controlled by Byron, enterprise, or pointer addresses are omitted. CAUTION: An asset being associated with a particular stake account does not necessarily mean the owner of that account controls the asset; use \"asset addresses\" unless you are sure you want to work with stake keys. Read more [here]( https://medium.com/adamant-security/multi-sig-concerns-mangled-addresses-and-the-dangers-of-using-stake-keys-in-your-cardano-project-94894319b1d8). * @summary Accounts of addresses holding specific asset * @param {string} asset Asset, encoded as concatenation of hex of policy ID and asset name * @param {AssetAccountsQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ assetAccounts(asset: string, queryParams?: AssetAccountsQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns a list of addresses which control some amount of the specified asset * @summary Native asset addresses * @param {string} asset Asset, encoded as concatenation of hex of policy ID and asset name * @param {AssetAddressesQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ assetAddresses(asset: string, queryParams?: AssetAddressesQueryParams, options?: AxiosRequestConfig): Promise; /** * Return a summary of information about an asset * @summary Native asset information * @param {string} asset Asset, encoded as concatenation of hex of policy ID and asset name * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ assetInfo(asset: string, options?: AxiosRequestConfig): Promise; /** * Returns a list of transactions in which a transaction input or output contains some of the specified asset * @summary Native asset transactions * @param {string} asset Asset, encoded as concatenation of hex of policy ID and asset name * @param {AssetTxsQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ assetTxs(asset: string, queryParams?: AssetTxsQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns a list of transactions in which some of the specified asset was minted or burned * @summary Native asset updates * @param {string} asset Asset, encoded as concatenation of hex of policy ID and asset name * @param {AssetUpdatesQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ assetUpdates(asset: string, queryParams?: AssetUpdatesQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns references for UTxOs which contain some of the specified asset, each paired with the amount of the asset contained in the UTxO * @summary Native asset UTxOs * @param {string} asset Asset, encoded as concatenation of hex of policy ID and asset name * @param {AssetUtxosQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ assetUtxos(asset: string, queryParams?: AssetUtxosQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns a list of accounts (as stake/reward addresses) associated with addresses which control some of an asset of the specified policy; in other words, instead of returning the addresses which hold the assets, the addresses are merged by their delegation part/account. Assets controlled by Byron, enterprise, or pointer addresses are omitted. CAUTION: An asset being associated with a particular stake account does not necessarily mean the owner of that account controls the asset; use \"asset addresses\" unless you are sure you want to work with stake keys. Read more [here]( https://medium.com/adamant-security/multi-sig-concerns-mangled-addresses-and-the-dangers-of-using-stake-keys-in-your-cardano-project-94894319b1d8). * @summary Accounts of addresses holding assets of specific policy * @param {string} policy Hex encoded Policy ID * @param {PolicyAccountsQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ policyAccounts(policy: string, queryParams?: PolicyAccountsQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns a list of addresses which hold some of an asset of the specified policy ID * @summary Addresses holding assets of specific policy * @param {string} policy Hex encoded Policy ID * @param {PolicyAddressesQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ policyAddresses(policy: string, queryParams?: PolicyAddressesQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns information about assets of the specified minting policy ID * @summary Information on assets of specific policy * @param {string} policy Hex encoded policy ID * @param {PolicyInfoQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ policyInfo(policy: string, queryParams?: PolicyInfoQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns a list of transactions in which a transaction input or output contains some of at least one asset of the specified minting policy ID * @summary Transactions moving assets of specific policy * @param {string} policy Hex encoded policy ID * @param {PolicyTxsQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ policyTxs(policy: string, queryParams?: PolicyTxsQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns UTxO references of UTxOs which contain some of at least one asset of the specified policy ID, each paired with a list of assets of the policy contained in the UTxO and the corresponding amounts * @summary UTxOs containing assets of specific policy * @param {string} policy Hex encoded policy ID * @param {PolicyUtxosQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AssetsApi */ policyUtxos(policy: string, queryParams?: PolicyUtxosQueryParams, options?: AxiosRequestConfig): Promise; } /** * BlocksApi - object-oriented interface * @export * @class BlocksApi * @extends {BaseAPI} */ declare class BlocksApi extends BaseAPI { /** * Returns information about the specified block including more advanced technical properties * @summary Block information * @param {string} hashOrHeight Block height or hex encoded block hash * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BlocksApi */ blockInfo(hashOrHeight: string, options?: AxiosRequestConfig): Promise; /** * Returns information about the latest block * @summary Latest block * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof BlocksApi */ blockLatest(options?: AxiosRequestConfig): Promise; } /** * DatumApi - object-oriented interface * @export * @class DatumApi * @extends {BaseAPI} */ declare class DatumApi extends BaseAPI { /** * Returns the datum corresponding to the specified datum hash, if the datum has been seen on-chain * @summary Datum by datum hash * @param {string} datumHash Hex encoded datum hash * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DatumApi */ lookupDatum(datumHash: string, options?: AxiosRequestConfig): Promise; /** * Returns the datums corresponding to the specified datum hashes, for the datums which have been seen on-chain * @summary Datums by datum hashes * @param {Array} requestBody Array of hex encoded datum hashes * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DatumApi */ lookupDatums(requestBody: Array, options?: AxiosRequestConfig): Promise; } /** * EcosystemApi - object-oriented interface * @export * @class EcosystemApi * @extends {BaseAPI} */ declare class EcosystemApi extends BaseAPI { /** * Returns the Cardano address corresponding to an ADA Handle * @summary Resolve ADA Handle * @param {string} handle Ada Handle to resolve * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EcosystemApi */ adahandleResolve(handle: string, options?: AxiosRequestConfig): Promise; } /** * EpochsApi - object-oriented interface * @export * @class EpochsApi * @extends {BaseAPI} */ declare class EpochsApi extends BaseAPI { /** * Returns a summary of information about the current epoch * @summary Current epoch details * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EpochsApi */ currentEpoch(options?: AxiosRequestConfig): Promise; /** * Returns a summary of information about a specific epoch * @summary Specific epoch details * @param {number} epochNo Epoch number to return information about * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EpochsApi */ epochInfo(epochNo: number, options?: AxiosRequestConfig): Promise; } /** * GeneralApi - object-oriented interface * @export * @class GeneralApi * @extends {BaseAPI} */ declare class GeneralApi extends BaseAPI { /** * Returns the identifier of the most recently processed block on the network * @summary Chain tip * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GeneralApi */ chainTip(options?: AxiosRequestConfig): Promise; /** * Returns the blockchain era summaries * @summary Era summaries * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GeneralApi */ eraSummaries(options?: AxiosRequestConfig): Promise; /** * Returns the current blockchain protocol parameters * @summary Protocol parameters * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GeneralApi */ protocolParameters(options?: AxiosRequestConfig): Promise; /** * Returns the blockchain system start time * @summary Blockchain system start * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof GeneralApi */ systemStart(options?: AxiosRequestConfig): Promise; } /** * @export */ declare const PoolBlocksOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type PoolBlocksOrderEnum = (typeof PoolBlocksOrderEnum)[keyof typeof PoolBlocksOrderEnum]; /** * @export */ declare const PoolHistoryOrderEnum: { readonly Asc: "asc"; readonly Desc: "desc"; }; type PoolHistoryOrderEnum = (typeof PoolHistoryOrderEnum)[keyof typeof PoolHistoryOrderEnum]; /** * Query parameters for listPools. * @export * @interface ListPoolsQueryParams * */ interface ListPoolsQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof ListPoolsQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof ListPoolsQueryParams */ cursor?: string | null; } /** * Query parameters for poolBlocks. * @export * @interface PoolBlocksQueryParams * */ interface PoolBlocksQueryParams { /** * Epoch number to fetch results for * @type {number | null} * @memberof PoolBlocksQueryParams */ epochNo?: number | null; /** * The max number of results per page. * @type {number | null} * @memberof PoolBlocksQueryParams */ count?: number | null; /** * The order in which the results are sorted (by block absolute slot) * @type {PoolBlocksOrderEnum} * @memberof PoolBlocksQueryParams */ order?: PoolBlocksOrderEnum; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof PoolBlocksQueryParams */ cursor?: string | null; } /** * Query parameters for poolDelegators. * @export * @interface PoolDelegatorsQueryParams * */ interface PoolDelegatorsQueryParams { /** * The max number of results per page. * @type {number | null} * @memberof PoolDelegatorsQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof PoolDelegatorsQueryParams */ cursor?: string | null; } /** * Query parameters for poolHistory. * @export * @interface PoolHistoryQueryParams * */ interface PoolHistoryQueryParams { /** * Epoch number to fetch results for * @type {number | null} * @memberof PoolHistoryQueryParams */ epochNo?: number | null; /** * The max number of results per page. * @type {number | null} * @memberof PoolHistoryQueryParams */ count?: number | null; /** * The order in which the results are sorted (by block absolute slot) * @type {PoolHistoryOrderEnum} * @memberof PoolHistoryQueryParams */ order?: PoolHistoryOrderEnum; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page. * @type {string | null} * @memberof PoolHistoryQueryParams */ cursor?: string | null; } /** * PoolsApi - object-oriented interface * @export * @class PoolsApi * @extends {BaseAPI} */ declare class PoolsApi extends BaseAPI { /** * Returns a list of currently registered stake pools * @summary List registered stake pools * @param {ListPoolsQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ listPools(queryParams?: ListPoolsQueryParams, options?: AxiosRequestConfig): Promise; /** * Return information about blocks minted by a given pool for all epochs (or just for epoch `epoch_no` if provided) * @summary Stake pool blocks * @param {string} poolId Pool ID in bech32 format * @param {PoolBlocksQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ poolBlocks(poolId: string, queryParams?: PoolBlocksQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns a list of delegators of the specified pool * @summary Stake pool delegators * @param {string} poolId Pool ID in bech32 format * @param {PoolDelegatorsQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ poolDelegators(poolId: string, queryParams?: PoolDelegatorsQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns per-epoch information about the specified pool (or just for epoch `epoch_no` if provided) * @summary Stake pool history * @param {string} poolId Pool ID in bech32 format * @param {PoolHistoryQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ poolHistory(poolId: string, queryParams?: PoolHistoryQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns current information about the specified pool * @summary Stake pool information * @param {string} poolId Pool ID in bech32 format * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ poolInfo(poolId: string, options?: AxiosRequestConfig): Promise; /** * Returns the metadata declared on-chain by the specified stake pool * @summary Stake pool metadata * @param {string} poolId Pool ID in bech32 format * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ poolMetadata(poolId: string, options?: AxiosRequestConfig): Promise; /** * Returns a list of relays declared on-chain by the specified stake pool * @summary Stake pool relays * @param {string} poolId Pool ID in bech32 format * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ poolRelays(poolId: string, options?: AxiosRequestConfig): Promise; /** * Returns a list of updates relating to the specified pool * @summary Stake pool updates * @param {string} poolId Pool ID in bech32 format * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PoolsApi */ poolUpdates(poolId: string, options?: AxiosRequestConfig): Promise; } /** * ScriptsApi - object-oriented interface * @export * @class ScriptsApi * @extends {BaseAPI} */ declare class ScriptsApi extends BaseAPI { /** * Returns the script corresponding to the specified script hash, if the script has been seen on-chain * @summary Script by script hash * @param {string} scriptHash Hex encoded script hash * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ScriptsApi */ scriptByHash(scriptHash: string, options?: AxiosRequestConfig): Promise; } /** * Query parameters for txoByTxoRef. * @export * @interface TxoByTxoRefQueryParams * */ interface TxoByTxoRefQueryParams { /** * Include the CBOR encoding of the transaction output in the response * @type {boolean | null} * @memberof TxoByTxoRefQueryParams */ with_cbor?: boolean | null; } /** * Query parameters for txosByTxoRefs. * @export * @interface TxosByTxoRefsQueryParams * */ interface TxosByTxoRefsQueryParams { /** * Try find and include the corresponding datums for datum hashes * @type {boolean | null} * @memberof TxosByTxoRefsQueryParams */ resolve_datums?: boolean | null; /** * Include the CBOR encoding of the transaction output in the response * @type {boolean | null} * @memberof TxosByTxoRefsQueryParams */ with_cbor?: boolean | null; /** * Do not return 404 if any transactions are not found (404 will still be returned if you specify an index higher than the number of outputs in a transaction) * @type {boolean | null} * @memberof TxosByTxoRefsQueryParams */ allow_missing?: boolean | null; /** * The max number of results per page * @type {number | null} * @memberof TxosByTxoRefsQueryParams */ count?: number | null; /** * Pagination cursor string, use the cursor included in a page of results to fetch the next page * @type {string | null} * @memberof TxosByTxoRefsQueryParams */ cursor?: string | null; } /** * TransactionsApi - object-oriented interface * @export * @class TransactionsApi * @extends {BaseAPI} */ declare class TransactionsApi extends BaseAPI { /** * Returns the address which was specified in the given transaction output. Note that if the transaction is invalid this will only return a result for the collateral return output, should one be present in the transaction. If the transaction is valid it will not return a result for the collateral return output. * @summary Address by transaction output reference * @param {string} txHash Transaction Hash * @param {number} index Output Index * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionsApi */ addressByTxo(txHash: string, index: number, options?: AxiosRequestConfig): Promise; /** * Returns hex-encoded CBOR bytes of a transaction * @summary CBOR bytes of a transaction * @param {string} txHash Transaction Hash * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionsApi */ txCborByTxHash(txHash: string, options?: AxiosRequestConfig): Promise; /** * Returns detailed information about a transaction * @summary Transaction details * @param {string} txHash Transaction hash in hex * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionsApi */ txInfo(txHash: string, options?: AxiosRequestConfig): Promise; /** * Returns the specified transaction output. * @summary Transaction output by output reference * @param {string} txHash Transaction Hash * @param {number} index Output Index * @param {TxoByTxoRefQueryParams} [queryParams] Query Parameters * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionsApi */ txoByTxoRef(txHash: string, index: number, queryParams?: TxoByTxoRefQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns the specified transaction outputs * @summary Transaction outputs by output references * @param {Array} requestBody * @param {TxosByTxoRefsQueryParams} [queryParams] Query Parameters * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionsApi */ txosByTxoRefs(requestBody: Array, queryParams?: TxosByTxoRefsQueryParams, options?: AxiosRequestConfig): Promise; } /** * Query parameters for txManagerHistory. * @export * @interface TxManagerHistoryQueryParams * */ interface TxManagerHistoryQueryParams { /** * The max number of results per pagination page * @type {number | null} * @memberof TxManagerHistoryQueryParams */ count?: number | null; /** * Pagination page number to show results for * @type {string | null} * @memberof TxManagerHistoryQueryParams */ page?: string | null; } /** * TransactionManagerApi - object-oriented interface * @export * @class TransactionManagerApi * @extends {BaseAPI} */ declare class TransactionManagerApi extends BaseAPI { /** * Returns the history of submitted transactions * @summary Transactions history * @param {TxManagerHistoryQueryParams} [queryParams] Query parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionManagerApi */ txManagerHistory(queryParams?: TxManagerHistoryQueryParams, options?: AxiosRequestConfig): Promise; /** * Returns the most recent state of a transaction * @summary Transaction state * @param {string} txHash Hex encoded transaction hash * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionManagerApi */ txManagerState(txHash: string, options?: AxiosRequestConfig): Promise; /** * Submit a signed and serialized transaction to the network. A transaction submited with this endpoint will be [monitored by Maestro](../Dapp%20Platform/Transaction%20Manager). * @summary Submit transaction * @param {string | Uint8Array} body CBOR encoded transaction * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionManagerApi */ txManagerSubmit(body: string | Uint8Array, options?: AxiosRequestConfig): Promise; /** * Submit a signed and serialized transaction to the network. A transaction submited with this endpoint will be [Turbo Submitted and Monitored by Maestro](../Dapp%20Platform/Turbo%20Transaction). * @summary Turbo submit transaction * @param {string | Uint8Array} body CBOR encoded transaction * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TransactionManagerApi */ txManagerTurboSubmit(body: string | Uint8Array, options?: AxiosRequestConfig): Promise; } /** * Type of staking-related action * @export * @enum {string} */ declare const AccountAction: { readonly Registration: "registration"; readonly Deregistration: "deregistration"; readonly Delegation: "delegation"; readonly Withdrawal: "withdrawal"; }; type AccountAction = (typeof AccountAction)[keyof typeof AccountAction]; /** * Per-epoch information about a stake account * @export * @interface AccountDelegationHistory */ interface AccountDelegationHistory { /** * Bech32 encoded pool ID the account was delegated to * @type {string} * @memberof AccountDelegationHistory */ pool_id: string; /** * Absolute slot of the block which contained the transactio * @type {number} * @memberof AccountDelegationHistory */ slot: number; } /** * Per-epoch information about a stake account * @export * @interface AccountHistory */ interface AccountHistory { /** * Active stake of the account in the epoch * @type {number} * @memberof AccountHistory */ active_stake: number; /** * Epoch number * @type {number} * @memberof AccountHistory */ epoch_no: number; /** * Bech32 encoded pool ID the account was delegated to * @type {string} * @memberof AccountHistory */ pool_id?: string | null; } /** * Summary of information regarding a stake account * @export * @interface AccountInfo */ interface AccountInfo { /** * Bech32 pool ID that the stake key is delegated to * @type {string} * @memberof AccountInfo */ delegated_pool?: string | null; /** * True if the stake key is registered * @type {boolean} * @memberof AccountInfo */ registered: boolean; /** * The amount of rewards that are available to be withdrawn * @type {number} * @memberof AccountInfo */ rewards_available: number; /** * Bech32 encoded stake address * @type {string} * @memberof AccountInfo */ stake_address: string; /** * Total balance controlled by the stake key (sum of UTxO and rewards) * @type {number} * @memberof AccountInfo */ total_balance: number; /** * Total rewards earned * @type {number} * @memberof AccountInfo */ total_rewarded: number; /** * Total rewards withdrawn * @type {number} * @memberof AccountInfo */ total_withdrawn: number; /** * Amount locked in UTxOs controlled by addresses with the stake key * @type {number} * @memberof AccountInfo */ utxo_balance: number; } /** * Stake account related reward * @export * @interface AccountReward */ interface AccountReward { /** * Reward amount * @type {number} * @memberof AccountReward */ amount: number; /** * Epoch in which the reward was earned * @type {number} * @memberof AccountReward */ earned_epoch: number; /** * Bech32 encoded pool ID (if relevant to reward type) * @type {string} * @memberof AccountReward */ pool_id: string; /** * Epoch at which the reward is spendable * @type {number} * @memberof AccountReward */ spendable_epoch: number; /** * * @type {AccountStakingRewardType} * @memberof AccountReward */ type: AccountStakingRewardType; } /** * Type of stake account reward * @export * @enum {string} */ declare const AccountRewardType: { readonly Member: "member"; readonly Leader: "leader"; readonly Treasury: "treasury"; readonly Reserves: "reserves"; readonly Refund: "refund"; }; type AccountRewardType = (typeof AccountRewardType)[keyof typeof AccountRewardType]; /** * Staking-related reward type * @export * @enum {string} */ declare const AccountStakingRewardType: { readonly Member: "member"; readonly Leader: "leader"; readonly Refund: "refund"; }; type AccountStakingRewardType = (typeof AccountStakingRewardType)[keyof typeof AccountStakingRewardType]; /** * Stake account related update * @export * @interface AccountUpdate */ interface AccountUpdate { /** * Absolute slot of the block which contained the transaction * @type {number} * @memberof AccountUpdate */ abs_slot: number; /** * * @type {AccountAction} * @memberof AccountUpdate */ action: AccountAction; /** * Epoch number in which the transaction occured * @type {number} * @memberof AccountUpdate */ epoch_no: number; /** * Transaction hash of the transaction which performed the action * @type {string} * @memberof AccountUpdate */ tx_hash: string; } /** * * @export * @interface AdaAmount */ interface AdaAmount { ada: { lovelace: number; }; } /** * Information decoded from a Cardano address * @export * @interface AddressInfo */ interface AddressInfo { /** * * @type {string} * @memberof AddressInfo */ bech32?: string | null; /** * * @type {string} * @memberof AddressInfo */ hex: string; /** * * @type {NetworkId} * @memberof AddressInfo */ network?: NetworkId | null; /** * * @type {PaymentCredential} * @memberof AddressInfo */ payment_cred?: PaymentCredential | null; /** * * @type {StakingCredential} * @memberof AddressInfo */ staking_cred?: StakingCredential | null; } /** * Current Balance by payment credential * @export * @interface AddressBalance */ interface AddressBalance { /** * * @type {object} * @memberof AddressBalance */ assets: object; /** * * @type {string} * @memberof AddressBalance */ lovelace: object; } /** * Transaction which involved a specific address * @export * @interface AddressTransaction */ interface AddressTransaction { /** * Address controlled at least one of the consumed UTxOs * @type {boolean} * @memberof AddressTransaction */ input: boolean; /** * Address controlled at least one of the produced UTxOs * @type {boolean} * @memberof AddressTransaction */ output: boolean; /** * Absolute slot of the block which contains the transaction * @type {number} * @memberof AddressTransaction */ slot: number; /** * Transaction hash * @type {string} * @memberof AddressTransaction */ tx_hash: string; } /** * Lovelace or native asset * @export * @interface Asset */ interface Asset { /** * Amount of the asset * @type {string} * @memberof Asset */ amount: string; /** * Asset (either `lovelace` or concatenation of hex encoded policy ID and asset name for native asset) * @type {string} * @memberof Asset */ unit: string; } /** * Holder of a specific asset * @export * @interface AssetHolder */ interface AssetHolder { /** * Address of the holder * @type {string} * @memberof AssetHolder */ address: string; /** * Amount of the asset owned by the holder * @type {number} * @memberof AssetHolder */ amount: number; } /** * Account which controls some of a specific asset * @export * @interface AssetHolderAccount */ interface AssetHolderAccount { /** * Stake/reward address for stake credential * @type {string} * @memberof AssetHolderAccount */ account: string; /** * Amount of the asset held by addresses which use the stake credential * @type {number} * @memberof AssetHolderAccount */ amount: number; } /** * Asset of a specific policy * @export * @interface AssetInPolicy */ interface AssetInPolicy { /** * Amount of the asset * @type {number} * @memberof AssetInPolicy */ amount: number; /** * Hex encoded asset name * @type {string} * @memberof AssetInPolicy */ name: string; } /** * Information about a specific Cardano native-asset * @export * @interface AssetInfo */ interface AssetInfo { /** * Hex encoding of the asset name * @type {string} * @memberof AssetInfo */ asset_name: string; /** * ASCII representation of the asset name * @type {string} * @memberof AssetInfo */ asset_name_ascii?: string | null; /** * * @type {AssetStandards} * @memberof AssetInfo */ asset_standards: AssetStandards; /** * Number of transactions which burned some of the asset * @type {number} * @memberof AssetInfo */ burn_tx_count: number; /** * CIP-14 fingerprint of the asset * @type {string} * @memberof AssetInfo */ fingerprint: string; /** * UNIX timestamp of the first mint transaction * @type {number} * @memberof AssetInfo */ first_mint_time: number; /** * Transaction hash of the first transaction which minted the asset * @type {string} * @memberof AssetInfo */ first_mint_tx: string; /** * Metadata of the most recent transaction which minted the asset * @type {object} * @memberof AssetInfo */ latest_mint_tx_metadata: object; /** * Number of transactions which minted some of the asset * @type {number} * @memberof AssetInfo */ mint_tx_count: number; /** * * @type {TokenRegistryMetadata} * @memberof AssetInfo */ token_registry_metadata?: TokenRegistryMetadata | null; /** * Current amount of the asset minted * @type {number} * @memberof AssetInfo */ total_supply: number; } /** * Asset information corresponding to popular standards * @export * @interface AssetStandards */ interface AssetStandards { /** * CIP-25 metadata for a specific asset * @type {object} * @memberof AssetStandards */ cip25_metadata: object; /** * * @type {Cip68Metadata} * @memberof AssetStandards */ cip68_metadata?: Cip68Metadata | null; } /** * Transaction which moved or minted a specific asset * @export * @interface AssetTx */ interface AssetTx { /** * Absolute slot of the block which includes the transaction * @type {number} * @memberof AssetTx */ slot: number; /** * UTC timestamp of the block which includes the transaction * @type {string} * @memberof AssetTx */ timestamp: string; /** * Transaction hash * @type {string} * @memberof AssetTx */ tx_hash: string; } /** * UTxO which contains a specific asset * @export * @interface AssetUtxo */ interface AssetUtxo { /** * Address which controls the UTxO * @type {string} * @memberof AssetUtxo */ address: string; /** * Amount of the asset contained in the UTxO * @type {number} * @memberof AssetUtxo */ amount: number; /** * UTxO transaction index * @type {number} * @memberof AssetUtxo */ index: number; /** * Absolute slot of block which produced the UTxO * @type {number} * @memberof AssetUtxo */ slot: number; /** * UTxO transaction hash * @type {string} * @memberof AssetUtxo */ tx_hash: string; } /** * Block information * @export * @interface BlockInfo */ interface BlockInfo { /** * Absolute slot when block was minted * @type {number} * @memberof BlockInfo */ absolute_slot: number; /** * Identifier of stake pool which minted the block * @type {string} * @memberof BlockInfo */ block_producer?: string | null; /** * Number of blocks which have been minted since the block * @type {number} * @memberof BlockInfo */ confirmations: number; /** * Epoch in which block was minted * @type {number} * @memberof BlockInfo */ epoch: number; /** * Epoch slot at which block was minted * @type {number} * @memberof BlockInfo */ epoch_slot: number; /** * * @type {LedgerEra} * @memberof BlockInfo */ era: LedgerEra; /** * Block hash * @type {string} * @memberof BlockInfo */ hash: string; /** * Block height (number) * @type {number} * @memberof BlockInfo */ height: number; /** * * @type {OperationalCert} * @memberof BlockInfo */ operational_certificate?: OperationalCert | null; /** * Block hash of the previous block * @type {string} * @memberof BlockInfo */ previous_block?: string | null; /** * Ledger protocol version (major, minor) * @type {Array} * @memberof BlockInfo */ protocol_version: Array; /** * Number of script invocations * @type {number} * @memberof BlockInfo */ script_invocations: number; /** * Size of the block in bytes * @type {number} * @memberof BlockInfo */ size: number; /** * UTC timestamp when the block was minted * @type {string} * @memberof BlockInfo */ timestamp: string; /** * * @type {ExUnits} * @memberof BlockInfo */ total_ex_units: ExUnits; /** * Total transaction fees collected for all transactions minted in the block * @type {number} * @memberof BlockInfo */ total_fees: number; /** * Total lovelace in outputs of transactions included in the block * @type {string} * @memberof BlockInfo */ total_output_lovelace: string; /** * Ordered transaction hashes for the transactions in the block * @type {Array} * @memberof BlockInfo */ tx_hashes: Array; /** * Null for Byron * @type {string} * @memberof BlockInfo */ vrf_key?: string | null; } /** * * @export * @interface BlockInfoProtocolVersionInner */ interface BlockInfoProtocolVersionInner { } /** * * @export * @interface BytesSize */ interface BytesSize { /** * * @type {number} * @memberof BytesSize */ bytes: number; } /** * * @export * @interface CertRedeemer */ interface CertRedeemer { /** * * @type {number} * @memberof CertRedeemer */ cert_index: number; /** * * @type {Datum} * @memberof CertRedeemer */ data: Datum; /** * * @type {Array} * @memberof CertRedeemer */ ex_units: Array; } /** * Certificates found in a transaction * @export * @interface Certificates */ interface Certificates { /** * Instantaneous rewards certificates * @type {Array} * @memberof Certificates */ mir_transfers: Array; /** * Stake pool registration certificates * @type {Array} * @memberof Certificates */ pool_registrations: Array; /** * Stake pool retirement certificates * @type {Array} * @memberof Certificates */ pool_retirements: Array; /** * Stake key delegation certificates * @type {Array} * @memberof Certificates */ stake_delegations: Array; /** * Stake key deregistration certificates * @type {Array} * @memberof Certificates */ stake_deregistrations: Array; /** * Stake key registration certificates * @type {Array} * @memberof Certificates */ stake_registrations: Array; } /** * Blockchain chain-tip (most recently adopted block) * @export * @interface ChainTip */ interface ChainTip { /** * Block hash of the most recent block * @type {string} * @memberof ChainTip */ block_hash: string; /** * Height (number) of the most recent block * @type {number} * @memberof ChainTip */ height: number; /** * Absolute slot of the most recent block * @type {number} * @memberof ChainTip */ slot: number; } /** * * @export * @enum {string} */ declare const Cip68AssetType: { readonly ReferenceNft: "reference_nft"; readonly UserNft: "user_nft"; readonly UserFt: "user_ft"; }; type Cip68AssetType = (typeof Cip68AssetType)[keyof typeof Cip68AssetType]; /** * * @export * @interface Cip68Metadata */ interface Cip68Metadata { /** * Custom user defined Plutus data * @type {string} * @memberof Cip68Metadata */ extra?: string | null; /** * Asset CIP-68 metadata * @type {object} * @memberof Cip68Metadata */ metadata: object; /** * * @type {Cip68AssetType} * @memberof Cip68Metadata */ purpose: Cip68AssetType; /** * CIP-68 version * @type {number} * @memberof Cip68Metadata */ version: number; } /** * * @export * @interface ContractsVestingLockPost200Response */ interface ContractsVestingLockPost200Response { /** * * @type {string} * @memberof ContractsVestingLockPost200Response */ cbor_hex?: string; /** * * @type {string} * @memberof ContractsVestingLockPost200Response */ tx_hash?: string; } /** * * @export * @interface ContractsVestingLockPostRequest */ interface ContractsVestingLockPostRequest { /** * Sender\'s bech32 address * @type {string} * @memberof ContractsVestingLockPostRequest */ sender: string; /** * Beneficiary\'s bech32 address * @type {string} * @memberof ContractsVestingLockPostRequest */ beneficiary: string; /** * Asset policy ID of the asset to be locked * @type {string} * @memberof ContractsVestingLockPostRequest */ asset_policy_id: string; /** * Asset policy token name of the asset to be locked * @type {string} * @memberof ContractsVestingLockPostRequest */ asset_token_name: string; /** * Total amount of the asset to be locked * @type {number} * @memberof ContractsVestingLockPostRequest */ total_vesting_quantity: number; /** * Vesting period start in UNIX time (seconds) * @type {number} * @memberof ContractsVestingLockPostRequest */ vesting_period_start: number; /** * Vesting period end in UNIX time (seconds) * @type {number} * @memberof ContractsVestingLockPostRequest */ vesting_period_end: number; /** * Valid initial unlock period start in UNIX time (seconds) * @type {number} * @memberof ContractsVestingLockPostRequest */ first_unlock_possible_after: number; /** * Number of vesting installments used to collect vested assets * @type {number} * @memberof ContractsVestingLockPostRequest */ total_installments: number; /** * An arbitrary note associated with locked assets * @type {string} * @memberof ContractsVestingLockPostRequest */ vesting_memo: string; } /** * Information summary of the current epoch * @export * @interface CurrentEpochInfo */ interface CurrentEpochInfo { /** * Total blocks in the epoch so far * @type {number} * @memberof CurrentEpochInfo */ blk_count: number; /** * Epoch number * @type {number} * @memberof CurrentEpochInfo */ epoch_no: number; /** * Total fees collected in the epoch so far * @type {string} * @memberof CurrentEpochInfo */ fees: string; /** * UNIX timestamp when the epoch began * @type {number} * @memberof CurrentEpochInfo */ start_time: number; /** * Total transactions in the epoch so far * @type {number} * @memberof CurrentEpochInfo */ tx_count: number; } /** * * @export * @interface Data */ interface Data { /** * * @type {string} * @memberof Data */ hash: string; /** * * @type {object} * @memberof Data */ value: object; } /** * * @export * @interface Datum */ interface Datum { /** * Hex encoded datum CBOR bytes * @type {string} * @memberof Datum */ bytes: string; /** * JSON representation of the datum * @type {object} * @memberof Datum */ json: object; } /** * Datum (inline or hash) * @export * @interface DatumOption */ interface DatumOption { /** * Hex encoded datum CBOR bytes (`null` if datum type is `hash` and corresponding datum bytes have not been seen on-chain) * @type {string} * @memberof DatumOption */ bytes?: string | null; /** * Datum hash * @type {string} * @memberof DatumOption */ hash: string; /** * JSON representation of the datum (`null` if datum type is `hash` and corresponding datum bytes have not been seen on-chain) * @type {object} * @memberof DatumOption */ json: object; /** * * @type {DatumOptionType} * @memberof DatumOption */ type: DatumOptionType; } /** * Datum type (inline datum or datum hash) * @export * @enum {string} */ declare const DatumOptionType: { readonly Hash: "hash"; readonly Inline: "inline"; }; type DatumOptionType = (typeof DatumOptionType)[keyof typeof DatumOptionType]; /** * Information summary of a delegator * @export * @interface DelegatorInfo */ interface DelegatorInfo { /** * Delegator live stake * @type {number} * @memberof DelegatorInfo */ amount?: number | null; /** * Transaction hash relating to the most recent delegation * @type {string} * @memberof DelegatorInfo */ latest_delegation_tx_hash?: string | null; /** * Bech32 encoded stake address (reward address) * @type {string} * @memberof DelegatorInfo */ stake_address?: string | null; } /** * Information summary of an epoch * @export * @interface EpochInfo */ interface EpochInfo { /** * Total active stake in the epoch * @type {string} * @memberof EpochInfo */ active_stake?: string | null; /** * Average block reward in the epoch * @type {string} * @memberof EpochInfo */ average_reward?: string | null; /** * Total rewards in the epoch * @type {string} * @memberof EpochInfo */ total_rewards?: string | null; /** * Total blocks in the epoch * @type {number} * @memberof EpochInfo */ blk_count: number; /** * UNIX timestamp when the epoch ended * @type {number} * @memberof EpochInfo */ end_time: number; /** * Epoch number * @type {number} * @memberof EpochInfo */ epoch_no: number; /** * Total fees collected in the epoch * @type {string} * @memberof EpochInfo */ fees: string; /** * UNIX timestamp when the epoch began * @type {number} * @memberof EpochInfo */ start_time: number; /** * Total transactions in the epoch * @type {number} * @memberof EpochInfo */ tx_count: number; } /** * * @export * @interface EraTime */ interface EraTime { /** * * @type {number} * @memberof EraTime */ seconds: number; } /** * * @export * @interface EraBound */ interface EraBound { /** * * @type {number} * @memberof EraBound */ epoch: number; /** * * @type {number} * @memberof EraBound */ slot: number; /** * * @type {EraTime} * @memberof EraBound */ time: EraTime; } /** * * @export * @interface SlotLength */ interface SlotLength { /** * * @type {number} * @memberof SlotLength */ milliseconds: number; } /** * * @export * @interface EraParameters */ interface EraParameters { /** * * @type {number} * @memberof EraParameters */ epoch_length: number; /** * * @type {SlotLength} * @memberof EraParameters */ slot_length: SlotLength; /** * * @type {number} * @memberof EraParameters */ safe_zone: number; } /** * * @export * @interface EraSummary */ interface EraSummary { /** * * @type {EraBound} * @memberof EraSummary */ end: EraBound; /** * * @type {EraParameters} * @memberof EraSummary */ parameters: EraParameters; /** * * @type {EraBound} * @memberof EraSummary */ start: EraBound; } /** * Execution units for Plutus scripts * @export * @interface ExUnit */ interface ExUnit { /** * Memory execution units * @type {T} * @memberof ExUnit */ memory: T; /** * CPU execution units * @type {T} * @memberof ExUnit */ cpu: T; } /** * * @export * @interface ExUnits */ interface ExUnits { /** * * @type {number} * @memberof ExUnits */ mem: number; /** * * @type {number} * @memberof ExUnits */ steps: number; } /** * Details of the most recent block processed by the indexer (aka chain tip); that is, the data returned is correct as of this block in time. * @export * @interface LastUpdated */ interface LastUpdated { /** * Hex-encoded hash of the most recently processed block (aka chain tip) * @type {string} * @memberof LastUpdated */ block_hash: string; /** * Absolute slot of the most recently processed block (aka chain tip) * @type {number} * @memberof LastUpdated */ block_slot: number; /** * UTC timestamp of when the most recently processed block was minted * @type {string} * @memberof LastUpdated */ timestamp: string; } /** * * @export * @enum {string} */ declare const LedgerEra: { readonly Byron: "byron"; readonly Shelley: "shelley"; readonly Allegra: "allegra"; readonly Mary: "mary"; readonly Alonzo: "alonzo"; readonly Vasil: "vasil"; readonly Valentine: "valentine"; readonly Conway: "conway"; readonly Notrecognised: "notrecognised"; }; type LedgerEra = (typeof LedgerEra)[keyof typeof LedgerEra]; /** * Lovelace or native asset * @export * @interface MintAsset */ interface MintAsset { /** * Amount of the asset minted or burned (negative is burn) * @type {number} * @memberof MintAsset */ amount: number; /** * Asset (represented as concatenation of hex encoded policy ID and asset name) * @type {string} * @memberof MintAsset */ unit: string; } /** * * @export * @interface MintRedeemer */ interface MintRedeemer { /** * * @type {Datum} * @memberof MintRedeemer */ data: Datum; /** * * @type {Array} * @memberof MintRedeemer */ ex_units: Array; /** * * @type {string} * @memberof MintRedeemer */ policy: string; } /** * Transaction which minted or burned a specific asset * @export * @interface MintingTx */ interface MintingTx { /** * UNIX timestamp of the block which included transaction * @type {number} * @memberof MintingTx */ block_timestamp: number; /** * Transaction metadata * @type {object} * @memberof MintingTx */ metadata: object; /** * Amount of the asset minted or burned (negative if burned) * @type {number} * @memberof MintingTx */ mint_amount: number; /** * Transaction hash * @type {string} * @memberof MintingTx */ tx_hash: string; } /** * Certificate for sending an instantaneous reward * @export * @interface MirCert */ interface MirCert { /** * Index of the certificate in the transaction * @type {number} * @memberof MirCert */ cert_index: number; /** * * @type {MirSource} * @memberof MirCert */ from: MirSource; /** * Where the rewards funds are being sent * @type {string} * @memberof MirCert */ to: string; } /** * The pot from which an MIR reward is being funded by * @export * @enum {string} */ declare const MirSource: { readonly Reserves: "reserves"; readonly Treasury: "treasury"; }; type MirSource = (typeof MirSource)[keyof typeof MirSource]; /** * * @export * @enum {string} */ declare const NetworkId: { readonly Mainnet: "mainnet"; readonly Testnet: "testnet"; }; type NetworkId = (typeof NetworkId)[keyof typeof NetworkId]; /** * * @export * @interface OperationalCert */ interface OperationalCert { /** * * @type {string} * @memberof OperationalCert */ hot_vkey: string; /** * * @type {number} * @memberof OperationalCert */ kes_period: number; /** * * @type {string} * @memberof OperationalCert */ kes_signature: string; /** * * @type {number} * @memberof OperationalCert */ sequence_number: number; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAccountHistory */ interface PaginatedAccountHistory { /** * Endpoint response data * @type {Array} * @memberof PaginatedAccountHistory */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAccountHistory */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAccountHistory */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAccountDelegationHistory */ interface PaginatedAccountDelegationHistory { /** * Endpoint response data * @type {Array} * @memberof PaginatedAccountHistory */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAccountDelegationHistory */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAccountDelegationHistory */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAccountReward */ interface PaginatedAccountReward { /** * Endpoint response data * @type {Array} * @memberof PaginatedAccountReward */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAccountReward */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAccountReward */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAccountUpdate */ interface PaginatedAccountUpdate { /** * Endpoint response data * @type {Array} * @memberof PaginatedAccountUpdate */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAccountUpdate */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAccountUpdate */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAddress */ interface PaginatedAddress { /** * Endpoint response data * @type {Array} * @memberof PaginatedAddress */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAddress */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAddress */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAddressTransaction */ interface PaginatedAddressTransaction { /** * Endpoint response data * @type {Array} * @memberof PaginatedAddressTransaction */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAddressTransaction */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAddressTransaction */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAsset */ interface PaginatedAsset { /** * Endpoint response data * @type {Array} * @memberof PaginatedAsset */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAsset */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAsset */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAssetHolder */ interface PaginatedAssetHolder { /** * Endpoint response data * @type {Array} * @memberof PaginatedAssetHolder */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAssetHolder */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAssetHolder */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAssetHolderAccount */ interface PaginatedAssetHolderAccount { /** * Endpoint response data * @type {Array} * @memberof PaginatedAssetHolderAccount */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAssetHolderAccount */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAssetHolderAccount */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAssetInfo */ interface PaginatedAssetInfo { /** * Endpoint response data * @type {Array} * @memberof PaginatedAssetInfo */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAssetInfo */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAssetInfo */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAssetTx */ interface PaginatedAssetTx { /** * Endpoint response data * @type {Array} * @memberof PaginatedAssetTx */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAssetTx */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAssetTx */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedAssetUtxo */ interface PaginatedAssetUtxo { /** * Endpoint response data * @type {Array} * @memberof PaginatedAssetUtxo */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedAssetUtxo */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedAssetUtxo */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedDelegatorInfo */ interface PaginatedDelegatorInfo { /** * Endpoint response data * @type {Array} * @memberof PaginatedDelegatorInfo */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedDelegatorInfo */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedDelegatorInfo */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedMintingTx */ interface PaginatedMintingTx { /** * Endpoint response data * @type {Array} * @memberof PaginatedMintingTx */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedMintingTx */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedMintingTx */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedPaymentCredentialTransaction */ interface PaginatedPaymentCredentialTransaction { /** * Endpoint response data * @type {Array} * @memberof PaginatedPaymentCredentialTransaction */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedPaymentCredentialTransaction */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedPaymentCredentialTransaction */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedPolicyHolder */ interface PaginatedPolicyHolder { /** * Endpoint response data * @type {Array} * @memberof PaginatedPolicyHolder */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedPolicyHolder */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedPolicyHolder */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedPolicyHolderAccount */ interface PaginatedPolicyHolderAccount { /** * Endpoint response data * @type {Array} * @memberof PaginatedPolicyHolderAccount */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedPolicyHolderAccount */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedPolicyHolderAccount */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedPolicyUtxo */ interface PaginatedPolicyUtxo { /** * Endpoint response data * @type {Array} * @memberof PaginatedPolicyUtxo */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedPolicyUtxo */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedPolicyUtxo */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedPoolBlock */ interface PaginatedPoolBlock { /** * Endpoint response data * @type {Array} * @memberof PaginatedPoolBlock */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedPoolBlock */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedPoolBlock */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedPoolHistory */ interface PaginatedPoolHistory { /** * Endpoint response data * @type {Array} * @memberof PaginatedPoolHistory */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedPoolHistory */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedPoolHistory */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedPoolListInfo */ interface PaginatedPoolListInfo { /** * Endpoint response data * @type {Array} * @memberof PaginatedPoolListInfo */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedPoolListInfo */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedPoolListInfo */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedUtxoRef */ interface PaginatedUtxoRef { /** * Endpoint response data * @type {Array} * @memberof PaginatedUtxoRef */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedUtxoRef */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedUtxoRef */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedUtxoWithBytes */ interface PaginatedUtxoWithBytes { /** * Endpoint response data * @type {Array} * @memberof PaginatedUtxoWithBytes */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedUtxoWithBytes */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedUtxoWithBytes */ next_cursor?: string | null; } /** * A paginated response. Pass in the `next_cursor` in a subsequent request as the `cursor` query parameter to fetch the next page of results. * @export * @interface PaginatedUtxoWithSlot */ interface PaginatedUtxoWithSlot { /** * Endpoint response data * @type {Array} * @memberof PaginatedUtxoWithSlot */ data: Array; /** * * @type {LastUpdated} * @memberof PaginatedUtxoWithSlot */ last_updated: LastUpdated; /** * Pagination cursor * @type {string} * @memberof PaginatedUtxoWithSlot */ next_cursor?: string | null; } /** * * @export * @enum {string} */ declare const PaymentCredKind: { readonly Key: "key"; readonly Script: "script"; }; type PaymentCredKind = (typeof PaymentCredKind)[keyof typeof PaymentCredKind]; /** * Payment credential, the payment part of a Cardano address * @export * @interface PaymentCredential */ interface PaymentCredential { /** * Bech32-encoding of the credential key hash or script hash * @type {string} * @memberof PaymentCredential */ bech32: string; /** * Hex-encoding of the script or key credential * @type {string} * @memberof PaymentCredential */ hex: string; /** * * @type {PaymentCredKind} * @memberof PaymentCredential */ kind: PaymentCredKind; } /** * Transaction which involved a specific address * @export * @interface PaymentCredentialTransaction */ interface PaymentCredentialTransaction { /** * Payment credential controlled at least one of the consumed UTxOs * @type {boolean} * @memberof PaymentCredentialTransaction */ input: boolean; /** * Payment credential controlled at least one of the produced UTxOs * @type {boolean} * @memberof PaymentCredentialTransaction */ output: boolean; /** * Payment credential was an additional required signer * @type {boolean} * @memberof PaymentCredentialTransaction */ required_signer: boolean; /** * Absolute slot of the block which contains the transaction * @type {number} * @memberof PaymentCredentialTransaction */ slot: number; /** * Transaction hash * @type {string} * @memberof PaymentCredentialTransaction */ tx_hash: string; } /** * * @export * @interface Pointer */ interface Pointer { /** * * @type {number} * @memberof Pointer */ cert_index: number; /** * * @type {number} * @memberof Pointer */ slot: number; /** * * @type {number} * @memberof Pointer */ tx_index: number; } /** * Holder of assets of a specific policy * @export * @interface PolicyHolder */ interface PolicyHolder { /** * Address of the holder * @type {string} * @memberof PolicyHolder */ address: string; /** * List of assets owned by the holder belonging to the policy * @type {Array} * @memberof PolicyHolder */ assets: Array; } /** * Account which controls some assets of a specific policy * @export * @interface PolicyHolderAccount */ interface PolicyHolderAccount { /** * Address of the holder * @type {string} * @memberof PolicyHolderAccount */ account: string; /** * List of assets owned by the holder belonging to the policy * @type {Array} * @memberof PolicyHolderAccount */ assets: Array; } /** * UTxO which contains assets of a specific policy * @export * @interface PolicyUtxo */ interface PolicyUtxo { /** * Address which controls the UTxO * @type {string} * @memberof PolicyUtxo */ address: string; /** * List of assets contained in the UTxO belonging to the policy * @type {Array} * @memberof PolicyUtxo */ assets: Array; /** * UTxO transaction index * @type {number} * @memberof PolicyUtxo */ index: number; /** * Absolute slot of block which produced the UTxO * @type {number} * @memberof PolicyUtxo */ slot: number; /** * UTxO transaction hash * @type {string} * @memberof PolicyUtxo */ tx_hash: string; } /** * Block created by a stake pool * @export * @interface PoolBlock */ interface PoolBlock { /** * Absolute slot of the block * @type {number} * @memberof PoolBlock */ abs_slot?: number | null; /** * Block hash * @type {string} * @memberof PoolBlock */ block_hash: string; /** * Block height (block number) * @type {number} * @memberof PoolBlock */ block_height: number; /** * UNIX timestamp when the block was mined * @type {number} * @memberof PoolBlock */ block_time: number; /** * Epoch number * @type {number} * @memberof PoolBlock */ epoch_no?: number | null; /** * Epoch slot * @type {number} * @memberof PoolBlock */ epoch_slot?: number | null; } /** * Per-epoch history of a stake pool * @export * @interface PoolHistory */ interface PoolHistory { /** * Active stake in the epoch * @type {number} * @memberof PoolHistory */ active_stake?: number | null; /** * Pool active stake as percentage of total active stake * @type {string} * @memberof PoolHistory */ active_stake_pct?: string | null; /** * Blocks created in the epoch * @type {number} * @memberof PoolHistory */ block_cnt?: number | null; /** * Total rewards earned by pool delegators for the epoch * @type {number} * @memberof PoolHistory */ deleg_rewards: number; /** * Delegators in the epoch * @type {number} * @memberof PoolHistory */ delegator_cnt?: number | null; /** * Epoch number * @type {number} * @memberof PoolHistory */ epoch_no: number; /** * Annual return percentage for delegators for the epoch * @type {string} * @memberof PoolHistory */ epoch_ros: string; /** * Pool fixed cost * @type {number} * @memberof PoolHistory */ fixed_cost: number; /** * Pool margin * @type {number} * @memberof PoolHistory */ margin?: number | null; /** * Fees collected for the epoch * @type {number} * @memberof PoolHistory */ pool_fees: number; /** * Pool saturation percent * @type {string} * @memberof PoolHistory */ saturation_pct?: string | null; } /** * Information summary of a stake pool * @export * @interface PoolInfo */ interface PoolInfo { /** * Active stake * @type {string} * @memberof PoolInfo */ active_stake?: string | null; /** * Number of blocks created * @type {number} * @memberof PoolInfo */ block_count?: number | null; /** * Pool fixed cost * @type {string} * @memberof PoolInfo */ fixed_cost: string; /** * Number of current delegators * @type {number} * @memberof PoolInfo */ live_delegators: number; /** * Account balance of pool owners * @type {string} * @memberof PoolInfo */ live_pledge?: string | null; /** * Live saturation * @type {string} * @memberof PoolInfo */ live_saturation?: string | null; /** * Live stake * @type {string} * @memberof PoolInfo */ live_stake?: string | null; /** * Pool margin * @type {string} * @memberof PoolInfo */ margin: string; /** * Hash of the pool metadata * @type {string} * @memberof PoolInfo */ meta_hash?: string | null; /** * * @type {PoolMetaJson} * @memberof PoolInfo */ meta_json?: PoolMetaJson | null; /** * URL pointing to the pool metadata * @type {string} * @memberof PoolInfo */ meta_url?: string | null; /** * Pool operational certificate * @type {string} * @memberof PoolInfo */ op_cert?: string | null; /** * Operational certificate counter * @type {number} * @memberof PoolInfo */ op_cert_counter?: number | null; /** * List of stake keys which control the pool * @type {Array} * @memberof PoolInfo */ owners: Array; /** * Pool pledge * @type {string} * @memberof PoolInfo */ pledge: string; /** * Bech32 encoded pool ID * @type {string} * @memberof PoolInfo */ pool_id_bech32: string; /** * Hex encoded pool ID * @type {string} * @memberof PoolInfo */ pool_id_hex: string; /** * Status of the pool * @type {string} * @memberof PoolInfo */ pool_status?: string | null; /** * Relays declared by the pool * @type {Array} * @memberof PoolInfo */ relays: Array; /** * Epoch at which the pool will be retired * @type {number} * @memberof PoolInfo */ retiring_epoch?: number | null; /** * Reward address associated with the pool * @type {string} * @memberof PoolInfo */ reward_addr?: string | null; /** * Pool stake share * @type {string} * @memberof PoolInfo */ sigma?: string | null; /** * VRF key hash * @type {string} * @memberof PoolInfo */ vrf_key_hash: string; } /** * Stake pool identifier * @export * @interface PoolListInfo */ interface PoolListInfo { /** * Bech32 encoded pool ID * @type {string} * @memberof PoolListInfo */ pool_id_bech32: string; /** * Pool ticker symbol * @type {string} * @memberof PoolListInfo */ ticker?: string | null; } /** * JSON metadata associated with a stake pool * @export * @interface PoolMetaJson */ interface PoolMetaJson { /** * Pool description * @type {string} * @memberof PoolMetaJson */ description?: string | null; /** * Pool home page URL * @type {string} * @memberof PoolMetaJson */ homepage?: string | null; /** * Pool name * @type {string} * @memberof PoolMetaJson */ name: string; /** * Pool ticker symbol * @type {string} * @memberof PoolMetaJson */ ticker?: string | null; } /** * Metadata associated with a stake pool * @export * @interface PoolMetadata */ interface PoolMetadata { /** * Hash of the pool metadata * @type {string} * @memberof PoolMetadata */ meta_hash?: string | null; /** * * @type {PoolMetaJson} * @memberof PoolMetadata */ meta_json?: PoolMetaJson | null; /** * URL pointing to the pool metadata * @type {string} * @memberof PoolMetadata */ meta_url?: string | null; /** * Bech32 encoded pool ID * @type {string} * @memberof PoolMetadata */ pool_id_bech32: string; } /** * Certificate for registering or updating a stake pool * @export * @interface PoolRegCert */ interface PoolRegCert { /** * Index of the certificate in the transaction * @type {number} * @memberof PoolRegCert */ cert_index: number; /** * Pool fixed cost * @type {number} * @memberof PoolRegCert */ fixed_cost: number; /** * Epoch at which the update will become active * @type {number} * @memberof PoolRegCert */ from_epoch: number; /** * Pool margin * @type {number} * @memberof PoolRegCert */ margin: number; /** * Hash of metadata that the metadata URL should point to * @type {string} * @memberof PoolRegCert */ metadata_hash?: string | null; /** * URL pointing to pool metadata declared by the stake pool * @type {string} * @memberof PoolRegCert */ metadata_url?: string | null; /** * Stake addresses which control the stake pool * @type {Array} * @memberof PoolRegCert */ owner_addresses: Array; /** * Pool pledge * @type {number} * @memberof PoolRegCert */ pledge: number; /** * Pool ID of the stake pool being updated * @type {string} * @memberof PoolRegCert */ pool_id: string; /** * Relays declared by the stake pool * @type {Array} * @memberof PoolRegCert */ relays: Array; /** * Stake address which will receive rewards from the stake pool * @type {string} * @memberof PoolRegCert */ reward_address: string; /** * VRF key hash of the stake pool * @type {string} * @memberof PoolRegCert */ vrf_key_hash: string; } /** * Relay declared by a stake pool * @export * @interface PoolRelay */ interface PoolRelay { /** * Bech32 encoded pool ID * @type {string} * @memberof PoolRelay */ pool_id_bech32: string; /** * Relays declared by the pool * @type {Array} * @memberof PoolRelay */ relays: Array; } /** * Certificate for retiring a stake pool * @export * @interface PoolRetireCert */ interface PoolRetireCert { /** * Pool will be retired at the end of this epoch * @type {number} * @memberof PoolRetireCert */ after_epoch: number; /** * Index of the certificate in the transaction * @type {number} * @memberof PoolRetireCert */ cert_index: number; /** * Bech32 pool ID of the pool being retired * @type {string} * @memberof PoolRetireCert */ pool_id: string; } /** * Update to a stake pool * @export * @interface PoolUpdate */ interface PoolUpdate { /** * UNIX timestamp of the block containing the transaction * @type {number} * @memberof PoolUpdate */ block_time?: number | null; /** * Pool fixed cost * @type {number} * @memberof PoolUpdate */ fixed_cost: number; /** * Pool margin * @type {number} * @memberof PoolUpdate */ margin: number; /** * Hash of the pool metadata * @type {string} * @memberof PoolUpdate */ meta_hash?: string | null; /** * * @type {PoolMetaJson} * @memberof PoolUpdate */ meta_json?: PoolMetaJson | null; /** * URL pointing to the pool metadata * @type {string} * @memberof PoolUpdate */ meta_url?: string | null; /** * List of stake keys which control the pool * @type {Array} * @memberof PoolUpdate */ owners: Array; /** * Pool pledge * @type {number} * @memberof PoolUpdate */ pledge: number; /** * Bech32 encoded pool ID * @type {string} * @memberof PoolUpdate */ pool_id_bech32: string; /** * Hex encoded pool ID * @type {string} * @memberof PoolUpdate */ pool_id_hex: string; /** * Status of the pool * @type {string} * @memberof PoolUpdate */ pool_status?: string | null; /** * Relays declared by the pool * @type {Array} * @memberof PoolUpdate */ relays: Array; /** * Epoch at which the pool will be retired * @type {number} * @memberof PoolUpdate */ retiring_epoch?: number | null; /** * Reward address associated with the pool * @type {string} * @memberof PoolUpdate */ reward_addr?: string | null; /** * Transaction hash for the transaction which contained the update * @type {string} * @memberof PoolUpdate */ tx_hash: string; /** * VRF key hash * @type {string} * @memberof PoolUpdate */ vrf_key_hash: string; } /** * * @export * @interface Prices */ interface Prices { /** * * @type {string} * @memberof Prices */ memory: string; /** * * @type {string} * @memberof Prices */ steps: string; } /** * * @export * @interface ProtocolParameters */ interface ProtocolParameters { /** * * @type {number} * @memberof ProtocolParameters */ collateral_percentage: number; /** * * @type {number} * @memberof ProtocolParameters */ desired_number_of_stake_pools: number; /** * Maximum number of bytes allowed for a block body * @type {BytesSize} * @memberof ProtocolParameters */ max_block_body_size: BytesSize; /** * Maximum number of bytes allowed for a block header * @type {BytesSize} * @memberof ProtocolParameters */ max_block_header_size: BytesSize; /** * * @type {number} * @memberof ProtocolParameters */ max_collateral_inputs: number; /** * Maximum execution units allowed for a block * @type {ExUnit} * @memberof ProtocolParameters */ max_execution_units_per_block: ExUnit; /** * Maximum execution units allowed for a transaction * @type {ExUnit} * @memberof ProtocolParameters */ max_execution_units_per_transaction: ExUnit; /** * Maximum number of bytes allowed for a transaction * @type {number} * @memberof ProtocolParameters */ max_transaction_size: BytesSize; /** * * @type {number} * @memberof ProtocolParameters */ max_value_size: BytesSize; /** * * @type {number} * @memberof ProtocolParameters */ min_fee_coefficient: number; /** * Minimum ADA fee * @type {AdaAmount} * @memberof ProtocolParameters */ min_fee_constant: AdaAmount; /** * Minimum stake pool cost * @type {AdaAmount} * @memberof ProtocolParameters */ min_stake_pool_cost: AdaAmount; /** * * @type {number} * @memberof ProtocolParameters */ min_utxo_deposit_coefficient: number; /** * Minimum UTxO deposit amount * @type {AdaAmount} * @memberof ProtocolParameters */ min_utxo_deposit_constant: AdaAmount; /** * * @type {string} * @memberof ProtocolParameters */ monetary_expansion: string; /** * Plutust script execution cost models * @type {{ plutus_v1: number[]; plutus_v2: number[] }} * @memberof ProtocolParameters */ plutus_cost_models: { plutus_v1: number[]; plutus_v2: number[]; }; /** * Script execution prices * @type {ExUnit} * @memberof ProtocolParameters */ script_execution_prices: ExUnit; /** * Stake deposit amount * @type {AdaAmount} * @memberof ProtocolParameters */ stake_credential_deposit: AdaAmount; /** * Stake deposit amount * @type {AdaAmount} * @memberof ProtocolParameters */ stake_pool_deposit: AdaAmount; /** * * @type {string} * @memberof ProtocolParameters */ stake_pool_pledge_influence: string; /** * * @type {number} * @memberof ProtocolParameters */ stake_pool_retirement_epoch_bound: number; /** * * @type {string} * @memberof ProtocolParameters */ treasury_expansion: string; /** * * @type {Version} * @memberof ProtocolParameters */ version: Version; } /** * * @export * @interface Redeemers */ interface Redeemers { /** * Redeemers attempting to delegate or deregister a script-controlled stake account * @type {Array} * @memberof Redeemers */ certificates: Array; /** * Redeemers attempting to mint assets of a script-controlled policy ID * @type {Array} * @memberof Redeemers */ mints: Array; /** * Redeemers attempting to spend a UTxO locked at a script * @type {Array} * @memberof Redeemers */ spends: Array; /** * Redeemers attempting to withdraw rewards for a script-controlled stake account * @type {Array} * @memberof Redeemers */ withdrawals: Array; } /** * Stake pool relay * @export * @interface Relay */ interface Relay { /** * * @type {string} * @memberof Relay */ dns?: string | null; /** * * @type {string} * @memberof Relay */ ipv4?: string | null; /** * * @type {string} * @memberof Relay */ ipv6?: string | null; /** * * @type {number} * @memberof Relay */ port?: number | null; /** * * @type {string} * @memberof Relay */ srv?: string | null; } /** * Details of a Native or Plutus script * @export * @interface Script */ interface Script { /** * Script bytes (`null` if `native` script) * @type {string} * @memberof Script */ bytes?: string | null; /** * Script hash * @type {string} * @memberof Script */ hash: string; /** * JSON representation of script (`null` if not `native` script) * @type {object} * @memberof Script */ json: object; /** * * @type {ScriptType} * @memberof Script */ type: ScriptType; } /** * Script type and version * @export * @enum {string} */ declare const ScriptType: { readonly Native: "native"; readonly Plutusv1: "plutusv1"; readonly Plutusv2: "plutusv2"; }; type ScriptType = (typeof ScriptType)[keyof typeof ScriptType]; /** * * @export * @interface SpendRedeemer */ interface SpendRedeemer { /** * * @type {Datum} * @memberof SpendRedeemer */ data: Datum; /** * * @type {Array} * @memberof SpendRedeemer */ ex_units: Array; /** * * @type {number} * @memberof SpendRedeemer */ input_index: number; } /** * Certificate for stake key delegation * @export * @interface StakeDelegCert */ interface StakeDelegCert { /** * Index of the certificate in the transaction * @type {number} * @memberof StakeDelegCert */ cert_index: number; /** * Pool ID of the stake pool the stake key is delegating to * @type {string} * @memberof StakeDelegCert */ pool_id: string; /** * Stake address corresponding to stake key being delegated * @type {string} * @memberof StakeDelegCert */ stake_address: string; } /** * Certificate for registering a stake key * @export * @interface StakeRegCert */ interface StakeRegCert { /** * Index of the certificate in the transaction * @type {number} * @memberof StakeRegCert */ cert_index: number; /** * Stake address corresponding to stake key being updated * @type {string} * @memberof StakeRegCert */ stake_address: string; } /** * * @export * @enum {string} */ declare const StakingCredKind: { readonly Key: "key"; readonly Script: "script"; readonly Pointer: "pointer"; }; type StakingCredKind = (typeof StakingCredKind)[keyof typeof StakingCredKind]; /** * Staking credential, the delegation part of a Cardano address * @export * @interface StakingCredential */ interface StakingCredential { /** * Bech32-encoding of the credential key hash or script hash * @type {string} * @memberof StakingCredential */ bech32?: string | null; /** * * @type {string} * @memberof StakingCredential */ hex?: string | null; /** * * @type {StakingCredKind} * @memberof StakingCredential */ kind: StakingCredKind; /** * * @type {Pointer} * @memberof StakingCredential */ pointer?: Pointer | null; /** * * @type {string} * @memberof StakingCredential */ reward_address?: string | null; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedAccountInfo */ interface TimestampedAccountInfo { /** * * @type {AccountInfo} * @memberof TimestampedAccountInfo */ data: AccountInfo; /** * * @type {LastUpdated} * @memberof TimestampedAccountInfo */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedAddress */ interface TimestampedAddress { /** * Bech32-encoded Cardano Address * @type {string} * @memberof TimestampedAddress */ data: string; /** * * @type {LastUpdated} * @memberof TimestampedAddress */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedAssetInfo */ interface TimestampedAssetInfo { /** * * @type {AssetInfo} * @memberof TimestampedAssetInfo */ data: AssetInfo; /** * * @type {LastUpdated} * @memberof TimestampedAssetInfo */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedBlockInfo */ interface TimestampedBlockInfo { /** * * @type {BlockInfo} * @memberof TimestampedBlockInfo */ data: BlockInfo; /** * * @type {LastUpdated} * @memberof TimestampedBlockInfo */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedChainTip */ interface TimestampedChainTip { /** * * @type {ChainTip} * @memberof TimestampedChainTip */ data: ChainTip; /** * * @type {LastUpdated} * @memberof TimestampedChainTip */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedCurrentEpochInfo */ interface TimestampedCurrentEpochInfo { /** * * @type {CurrentEpochInfo} * @memberof TimestampedCurrentEpochInfo */ data: CurrentEpochInfo; /** * * @type {LastUpdated} * @memberof TimestampedCurrentEpochInfo */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedDatum */ interface TimestampedDatum { /** * * @type {Datum} * @memberof TimestampedDatum */ data: Datum; /** * * @type {LastUpdated} * @memberof TimestampedDatum */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedDatums */ interface TimestampedDatums { /** * Record of Datum by datum hash * @type {Record} * @memberof TimestampedDatum */ data: Record; /** * * @type {LastUpdated} * @memberof TimestampedDatum */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedEpochInfo */ interface TimestampedEpochInfo { /** * * @type {EpochInfo} * @memberof TimestampedEpochInfo */ data: EpochInfo; /** * * @type {LastUpdated} * @memberof TimestampedEpochInfo */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedEraSummaries */ interface TimestampedEraSummaries { /** * * @type {Array} * @memberof TimestampedEraSummaries */ data: Array; /** * * @type {LastUpdated} * @memberof TimestampedEraSummaries */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedPoolInfo */ interface TimestampedPoolInfo { /** * * @type {PoolInfo} * @memberof TimestampedPoolInfo */ data: PoolInfo; /** * * @type {LastUpdated} * @memberof TimestampedPoolInfo */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedPoolMetadata */ interface TimestampedPoolMetadata { /** * * @type {PoolMetadata} * @memberof TimestampedPoolMetadata */ data: PoolMetadata; /** * * @type {LastUpdated} * @memberof TimestampedPoolMetadata */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedPoolRelays */ interface TimestampedPoolRelays { /** * A list of stake pool relays declared on-chain * @type {Array} * @memberof TimestampedPoolRelays */ data: Array; /** * * @type {LastUpdated} * @memberof TimestampedPoolRelays */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedPoolUpdates */ interface TimestampedPoolUpdates { /** * List of updates to a stake pool * @type {Array} * @memberof TimestampedPoolUpdates */ data: Array; /** * * @type {LastUpdated} * @memberof TimestampedPoolUpdates */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedProtocolParameters */ interface TimestampedProtocolParameters { /** * * @type {ProtocolParameters} * @memberof TimestampedProtocolParameters */ data: ProtocolParameters; /** * * @type {LastUpdated} * @memberof TimestampedProtocolParameters */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedScript */ interface TimestampedScript { /** * * @type {Script} * @memberof TimestampedScript */ data: Script; /** * * @type {LastUpdated} * @memberof TimestampedScript */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedSystemStart */ interface TimestampedSystemStart { /** * * @type {string} * @memberof TimestampedSystemStart */ data: string; /** * * @type {LastUpdated} * @memberof TimestampedSystemStart */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedTransactionInfo */ interface TimestampedTransactionInfo { /** * * @type {TransactionInfo} * @memberof TimestampedTransactionInfo */ data: TransactionInfo; /** * * @type {LastUpdated} * @memberof TimestampedTransactionInfo */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedTxCbor */ interface TimestampedTxCbor { /** * Hex encoded transaction CBOR bytes * @type {string} * @memberof TimestampedTxCbor */ data: string; /** * * @type {LastUpdated} * @memberof TimestampedTxCbor */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedTxCount */ interface TimestampedTxCount { /** * Number of transactions * @type {number} * @memberof TimestampedTxCount */ data: number; /** * * @type {LastUpdated} * @memberof TimestampedTxCount */ last_updated: LastUpdated; } /** * Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain\'s history the data was correct as-of. * @export * @interface TimestampedUtxo */ interface TimestampedUtxo { /** * * @type {Utxo} * @memberof TimestampedUtxo */ data: Utxo; /** * * @type {LastUpdated} * @memberof TimestampedUtxo */ last_updated: LastUpdated; } /** * Token registry metadata * @export * @interface TokenRegistryMetadata */ interface TokenRegistryMetadata { /** * Recommended value for decimal places * @type {number} * @memberof TokenRegistryMetadata */ decimals: number; /** * Asset description * @type {string} * @memberof TokenRegistryMetadata */ description: string; /** * Base64 encoded logo PNG associated with the asset * @type {string} * @memberof TokenRegistryMetadata */ logo: string; /** * Asset name * @type {string} * @memberof TokenRegistryMetadata */ name: string; /** * Asset ticker * @type {string} * @memberof TokenRegistryMetadata */ ticker: string; /** * URL associated with the asset * @type {string} * @memberof TokenRegistryMetadata */ url: string; } /** * Transaction Information * @export * @interface TransactionInfo */ interface TransactionInfo { /** * Additional required signers * @type {Array} * @memberof TransactionInfo */ additional_signers: Array; /** * Absolute slot of the block which includes the transaction * @type {number} * @memberof TransactionInfo */ block_absolute_slot: number; /** * Hash of the block which includes the transaction * @type {string} * @memberof TransactionInfo */ block_hash: string; /** * Block height (number) of the block which includes the transaction * @type {number} * @memberof TransactionInfo */ block_height: number; /** * UNIX timestamp of the block which includes the transaction * @type {number} * @memberof TransactionInfo */ block_timestamp: number; /** * The transaction\'s position within the block which includes it * @type {number} * @memberof TransactionInfo */ block_tx_index: number; /** * * @type {Certificates} * @memberof TransactionInfo */ certificates: Certificates; /** * Collateral inputs, to be taken if Plutus scripts are not successful * @type {Array} * @memberof TransactionInfo */ collateral_inputs: Array; /** * * @type {Utxo} * @memberof TransactionInfo */ collateral_return?: Utxo | null; /** * The amount of lovelace used for deposits (negative if being returned) * @type {number} * @memberof TransactionInfo */ deposit: number; /** * The fee specified in the transaction * @type {number} * @memberof TransactionInfo */ fee: number; /** * Transaction inputs * @type {Array} * @memberof TransactionInfo */ inputs: Array; /** * The slot before which the transaction would not be accepted onto the chain * @type {number} * @memberof TransactionInfo */ invalid_before?: number | null; /** * The slot from which the transaction would not be accepted onto the chain * @type {number} * @memberof TransactionInfo */ invalid_hereafter?: number | null; /** * Transaction metadata JSON * @type {object} * @memberof TransactionInfo */ metadata: object; /** * Native assets minted or burned by the transaction * @type {Array} * @memberof TransactionInfo */ mint: Array; /** * Transaction outputs * @type {Array} * @memberof TransactionInfo */ outputs: Array; /** * * @type {Redeemers} * @memberof TransactionInfo */ redeemers: Redeemers; /** * Reference inputs * @type {Array} * @memberof TransactionInfo */ reference_inputs: Array; /** * Native and Plutus scripts which were executed while processing the transaction * @type {Array