UNPKG

@maestro-org/typescript-sdk

Version:

TypeScript SDK for the Maestro Dapp Platform

11 lines (8 loc) 266 B
import { MaestroClient, Configuration } from '../dist'; let maestroClient = new MaestroClient( new Configuration({ apiKey: '<PROJECT_API_KEY>', network: 'Preprod', }), ); maestroClient.blocks.blockLatest().then((x) => console.log(x.data));