DiodeClient.Shell.OasisSapphire (Diode Client v1.4.12)

View Source

Specialized shell for Oasis Sapphire.

Summary

Functions

block_time()

blockexplorer_url(opts \\ [])

cached_rpc(args)

call(address, method, types, args, opts \\ [])

chain_id()

create_meta_transaction(address, function_name, types, values, nonce, opts \\ [])

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

default_gas_limit()

encrypt_transaction(tx)

gas_price()

get_account(address, peak \\ peak())

get_account_root(address, peak \\ peak())

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

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

get_block_header(block_index)

get_meta_nonce(address, peak \\ peak(), opts \\ [])

get_transaction_receipt(tx_hash)

oasis_call(transaction, opts \\ [])

oasis_call_data_public_key()

peak()

peak_number(block \\ peak())

prefix()

raw_call(address, method, types, args, opts \\ [])

rpc(args)

send_transaction(tx)

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

signed_call_block_index(opts, head_block_number)

Block index used to anchor Oasis signed simulate calls.

opts[:block] is ignored when it is older than @signed_call_leash_range behind the live head. Stale PeakBlock headers (throttled every 10 blocks) otherwise produce invalid signed simulate call query: unexpected base block from the runtime.

uncache_rpc(args)