Skip to content
Cody Burns edited this page May 16, 2018 · 1 revision

Basic functions

Command set:

  • query
  • getBlockNumber
  • getBalance
  • getTransaction
  • sendSignedTransaction
  • gasPrice
  • getBlock
  • web3
  • events

Command structure

!cmd sub-cmd addr payload

! : activator

cmd : feature to use

sub-cmd : field for feature

addr : The address being sent to or read from

payload: the message to send

Commands

!query: use or or to get info

!getBlockNumber : returns the current block number

!getBalance : returns an account's balance

!getTransaction : get info on a transaction

!sendSignedTransaction : send a signed transaction

!gasPrice: gets the median gas price

!getBlock returns a block with info

Clone this wiki locally