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.