2.0.2 • Published 4 years ago

ala-json2 v2.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Build Status NPM

About

This repository contains information about the ALA blockchain in the JSON file format. The JSON format is used to help keep this information parsable and available to other programming languages.

API

./api/v1/chain.json

Run alad or direct requests to a public node.

Usage:

curl http://127.0.0.1:8888/v1/chain/get_info
echo '{"block_num_or_id": 1}' | curl http://127.0.0.1:8888/v1/chain/get_block -d @-

Operations

./schema/generated.json

These operations update the blockchain. Because these are signed and stored in binary format a serialization and deserialization library is needed.

Updating Generated Types

./update_types.sh

Environment

JSON