eosrpc v0.1.3-beta EOSRPC.Helper View Source

Helper functions to most used EOS Blockchain actions

You will want to use: auto_push/1 to automatically sign, get the keys from wallet and push the transaction new_account/4 to create accounts

You can use everything else, they will help you with some default actions that you need on your daily basis

Link to this section Summary

Functions

Convert a list of actions to binary data (/chain/abi_json_to_bin)

Convert action data to binary, identify required keys, sign and finally push transaction

Sign and submit transaction if you have binary data, otherwise utilizes auto_push/1

Get the current irreversible block data from the chain

Creates a new account - exactly like cleos

Retrieves the next minute - used mostly for expiration dates of transactions

Push transaction data with the signature found on sign_transaction/1

Identify the required keys for the transaction and sign with them

Link to this section Functions

Convert a list of actions to binary data (/chain/abi_json_to_bin)

Convert action data to binary, identify required keys, sign and finally push transaction

Sign and submit transaction if you have binary data, otherwise utilizes auto_push/1

Link to this function current_irreversible_block() View Source

Get the current irreversible block data from the chain

Link to this function new_account(creator, new_account, owner_key, active_key) View Source

Creates a new account - exactly like cleos

Retrieves the next minute - used mostly for expiration dates of transactions

Link to this function push_transaction(trx_data, signatures) View Source

Push transaction data with the signature found on sign_transaction/1

Link to this function sign_transaction(trx_data) View Source

Identify the required keys for the transaction and sign with them