Skip to content

Simulator API

Sean Batzel edited this page Dec 3, 2019 · 2 revisions

Blockchain Simulator API

Test Endpoint

GET /

New Transaction

POST /client/transaction/create

{
  'to': Address,
  'from': Address,
  'data': Smart Contract Code
}

List Transactions

GET /client/transaction/list

List Transactions from Block

GET /client/transaction/list_by_block/:block_id

Retrieve a Specific Transaction

GET /client/transaction/:tx_id

List Blocks

GET /client/block/list

Retrieve a Specific Block

GET /client/block/:block_id

New Account

POST /client/account/create

Retrieve Account by Address

GET /client/account/:address

Get Balance of Account by Address

GET /client/account/balance/:address

List Accounts

GET /client/account/list