eth v0.4.0 ETH

Elixir module that provides Ethereum utility functions

Link to this section Summary

Functions

In order to use most of the functions in this library you need to be connected to an ethereum node. This could be your own self-hosted node running locally or a public proxy

Link to this section Functions

In order to use most of the functions in this library you need to be connected to an ethereum node. This could be your own self-hosted node running locally or a public proxy.

Examples

iex> ETH.block_number
46080211
Link to this function block_number!()
Link to this function buffer_to_int(data)
Link to this function build(wallet, params)
Link to this function build(sender_wallet, receiver_wallet, params_or_value)
Link to this function call(call_params)
Link to this function call(call_params, state)
Link to this function call!(call_params)
Link to this function call!(call_params, state)
Link to this function convert(value, denomination)
Link to this function decode(rlp_encoded_transaction)
Link to this function decode16(decoded_data)
Link to this function encode(signed_transaction_list)
Link to this function estimate_gas(transaction)
Link to this function estimate_gas(transaction, denomination)
Link to this function estimate_gas!(transaction)
Link to this function estimate_gas!(transaction, denomination)
Link to this function get_accounts!()
Link to this function get_address(private_or_public_key)
Link to this function get_balance(wallet_or_address)
Link to this function get_balance(wallet_or_address, state)
Link to this function get_balance(wallet_or_address, denomination, state)
Link to this function get_balance!(wallet_or_address)
Link to this function get_balance!(wallet_or_address, state)
Link to this function get_balance!(wallet_or_address, denomination, state)
Link to this function get_block(identifier)
Link to this function get_block!(identifier)
Link to this function get_block_transaction_count(identifier)
Link to this function get_block_transaction_count!(identifier)
Link to this function get_block_transactions(identifier)
Link to this function get_block_transactions!(identifier)
Link to this function get_chain_id(v, chain_id)
Link to this function get_private_key()
Link to this function get_public_key(private_key)
Link to this function get_sender_address(transaction_input)
Link to this function get_senders_public_key(transaction_input)
Link to this function get_transaction(transaction_hash)
Link to this function get_transaction!(transaction_hash)
Link to this function get_transaction_count(wallet_or_address)
Link to this function get_transaction_count(wallet_or_address, state)
Link to this function get_transaction_count!(wallet_or_address)
Link to this function get_transaction_count!(wallet_or_address, state)
Link to this function get_transaction_from_block(identifier, index)
Link to this function get_transaction_from_block!(identifier, index)
Link to this function get_transaction_receipt(transaction_hash)
Link to this function get_transaction_receipt!(transaction_hash)
Link to this function hash_transaction(transaction)
Link to this function hash_transaction(transaction, include_signature)
Link to this function keccak256(data)
Link to this function pad_to_even(data)
Link to this function secp256k1_signature(hash, private_key)
Link to this function send(signature)
Link to this function send!(signature)
Link to this function send_transaction(params_or_wallet, private_key_or_params)
Link to this function send_transaction(sender_wallet, receiver_wallet, value_or_params)
Link to this function send_transaction(sender_wallet, receiver_wallet, value_or_params, private_key)
Link to this function send_transaction!(params_or_wallet, private_key_or_params)
Link to this function send_transaction!(sender_wallet, receiver_wallet, value_or_params)
Link to this function send_transaction!(sender_wallet, receiver_wallet, value_or_params, private_key)
Link to this function sign_transaction(transaction, private_key)
Link to this function to_buffer(data)