/bsc-scan

A simple wrapper around the BscScan API that allows you to fetch/schedule prices of wallet addresses

Primary LanguageTypeScript

Installation

$ yarn install

Seeding Data

$ yarn seed

Running the Scheduler

$ yarn jobs:run

Running the application server

# production
$ yarn start

# watch mode
$ yarn start:dev

API Documentation

The API documentation will be available at the URL:

/api-docs

You can download the API specification as a JSON file on the following URL:

/api-docs-json

Postman Test Script

You can use the following Postman test script to set your auth token after a successful '/auth/login' API call:

const jsonData = JSON.parse(responseBody);
pm.test('Status code is 200', () => {
    pm.response.to.have.status(200);
});
pm.environment.set('access_token', `Bearer ${jsonData.token}`);