@ada-anvil/sdk-server
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published


Anvil Server SDK

Website

This library provides tools to interact with the Anvil backend API from Node.js applications.

Installation

npm install @ada-anvil/sdk-core @ada-anvil/sdk-server

Basic usage

// Import the SDK
import { anvil } from "@ada-anvil/sdk-client";

// Authenticate using your Anvil API key
anvil.config.authenticate(import.meta.env.VITE_ANVIL_API_KEY);

// Use the exchange service
const exchange = await anvil.exchange.getPending({ exchangeId: 33, address: "<ADDRESS>" });

Services

Refer to the type definitions for a complete list of available services and methods.

core (flat)

The core services provided by the Anvil SDK Core.

Readme

Keywords

none

Package Sidebar

Install

npm i @ada-anvil/sdk-server

Weekly Downloads

4

Version

0.4.0

License

none

Unpacked Size

829 kB

Total Files

6

Last publish

Collaborators

  • dodilanne
  • tqueri
  • pabz-anvil
  • mrabdibdi-anvil