Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

ShaneMaglangit/morph-tracking-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

morph-tracking-api

API for tracking morphing event on the ronin chain.

Usage

Use this endpoint to use this API. This accepts the following parameters:

Params Value Description
page Integer Page of the result. Each page is an offset of page * 100.
asc Boolean Determines if results should be in ascending or descending order.
byId Boolean Determines if the order will be based on the Axie's ID or by the default setting. Default is by timestamp.

Rebuild locally

This assumes that you have a correctly configured Go toolchain

Install the dependencies

go mod tidy

Create a .env file with corresponding values based on .dist.env

DB_USERNAME=
DB_PASSWORD=
DB_HOST=
DB_PORT=
DB_NAME=

Build the binary and run the executable

go build .
./morph-tracking-api

Releases

No releases published

Packages

No packages published