A RESTful API service for token swaps and metadata on the NEAR blockchain, built with Express.js and TypeScript.
- Token metadata retrieval
- Whitelist tokens with balances and prices
- Token swap functionality
- Rate limiting
- CORS enabled
- Security headers with Helmet
GET /api/token-metadata
Retrieve metadata for a specific token.
token
(string, required): The ID of the token for which metadata is requested.
Returns a JSON object containing the metadata of the specified token.