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

0.4.1 • 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.

/@ada-anvil/sdk-server/

    Package Sidebar

    Install

    npm i @ada-anvil/sdk-server

    Weekly Downloads

    3

    Version

    0.4.1

    License

    none

    Unpacked Size

    829 kB

    Total Files

    6

    Last publish

    Collaborators

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