UNPKG

@hippocampus-web3/blockfrost-js

Version:

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

19 lines (18 loc) 786 B
import { BlockFrostAPI } from '../../../index'; import { components } from '@blockfrost/openapi'; /** * Obtains detailed network information. * @see {@link https://docs.blockfrost.io/#tag/Cardano-Network/paths/~1network/get | API docs for Network information} * * @returns Detailed network information. * */ export declare function network(this: BlockFrostAPI): Promise<components['schemas']['network']>; /** * Returns start and end of each era along with parameters that can vary between hard forks. * @see {@link https://docs.blockfrost.io/#tag/Cardano-Network/paths/~1network~1eras/get | API docs for Network information} * * @returns List of blockchain eras. * */ export declare function networkEras(this: BlockFrostAPI): Promise<components['schemas']['network-eras']>;