ShaneMaglangit / morph-tracking-api

API for tracking morphing events on the Ronin chain

Home Page:https://morph.betteraxie.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

API for tracking morphing events on the Ronin chain

https://morph.betteraxie.tech

License:GNU General Public License v3.0


Languages

Language:Go 99.5%Language:Shell 0.5%