
About
This repository contains information about the EOS 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
Build and run eosd or direct requests to a public testnet or production 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 make up the blockchain. Because these are signed and stored in binary format a serialization and deserialization library is needed.
Updating Generated Types
curl https://raw.githubusercontent.com/EOSIO/eos/master/libraries/types/types.eos > types.eos
./type_parser.js types.eos > schema/generated.json
yarn test
Environment
JSON