Skip to content

Backend API for Treasury App asset exchange feature.

Notifications You must be signed in to change notification settings

NEAR-DevHub/ref-sdk-api

Repository files navigation

NEAR Token Swap API

A RESTful API service for token swaps and metadata on the NEAR blockchain, built with Express.js and TypeScript.

Features

  • Token metadata retrieval
  • Whitelist tokens with balances and prices
  • Token swap functionality
  • Rate limiting
  • CORS enabled
  • Security headers with Helmet

API Endpoints

Get Token Metadata

GET /api/token-metadata

Retrieve metadata for a specific token.

Query Parameters

  • token (string, required): The ID of the token for which metadata is requested.

Response

Returns a JSON object containing the metadata of the specified token.

About

Backend API for Treasury App asset exchange feature.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •