View Source DiodeClient.Shell (Diode Client v1.2.2)

DiodeClient.Shell is the interface to the blockchain state. It allows fetching accounts and block header information. Data fetched is by default checked against a merkle proof.

Example fetching smart contract state from an address

me = DiodeClient.address()
DiodeClient.Shell.get_account(me)

Summary

Functions

Link to this function

blockexplorer_url(opts \\ [])

View Source
Link to this function

create_transaction(address, function_name, types, values, opts \\ [])

View Source
Link to this function

get_account(address, peak \\ peak())

View Source
Link to this function

get_account_root(address, peak \\ peak())

View Source
Link to this function

get_account_roots(address, peak \\ peak())

View Source
Link to this function

get_account_value(address, key, peak \\ peak())

View Source
Link to this function

get_account_values(address, keys, peak \\ peak())

View Source
Link to this function

get_block_header(block_index)

View Source
Link to this function

peak_number(peak \\ peak())

View Source
Link to this function

send_transaction(address, function_name, types, values, opts \\ [])

View Source