@solar-network/client
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

Solar API client

Installation

pnpm install @solar-network/client

Usage

import { Connection } from "@solar-network/client";

const init = async () => {
    const connection: Connection = new Connection("https://tapi.solar.org/api");

    console.log(await connection.api("blocks").all());
};

init();

See the documentation for more examples.

Security

If you discover a security vulnerability within this package, please send an e-mail to security@solar.org. All security vulnerabilities will be promptly addressed.

Credits

This project exists thanks to all the people who contribute.

License

Please read the separate LICENSE file for details.

Dependents (0)

Package Sidebar

Install

npm i @solar-network/client

Weekly Downloads

15

Version

4.0.1

License

CC-BY-ND-4.0

Unpacked Size

111 kB

Total Files

82

Last publish

Collaborators

  • alessiodf
  • hodler