Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 974 Bytes

File metadata and controls

39 lines (24 loc) · 974 Bytes

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.