package
0.1.1
Repository: https://github.com/qosgroup/cassini.git
Documentation: pkg.go.dev

# Functions

Close client's connection.
Config returns ethereum config.
EthBlockNumber return block number in hex string.
EthBlockNumberInt64 return block number in int64.
EthBlockNumberResponse json-rpc response string for eth_blockNumber.
EthGetBalance returns the balance of the account of given address.
EthGetBlockByNumber json-rpc for eth_getBlockByNumber.
EthGetBlockByNumberResponse json-rpc for eth_getBlockByNumber.
EthGetTransactionByHash returns the information about a transaction requested by transaction hash.
EthGetTransactionByHashResponse returns the information about a transaction requested by transaction hash.
EthGetTransactionReceipt returns the receipt of a transaction by transaction hash.
EthGetTransactionReceiptResponse returns the receipt of a transaction by transaction hash.
EthProtocolVersionResponse json-rpc for eth_protocolVersion.
NewAccount create a new account on ethereum.
QueryTokenInfo query token info on ethereum.

# Constants

CLIENT identifier.
VERSION of ethereum.

# Structs

Account escrow account on hyperledger fabric.
Block returns from ethereum.
EthClient ethereum json-rpc client.
GethConfig wrapped ethereum config.
JSONRPC rpc request.
ResultError error message.
RPCResponse returns block from ethereum.
Token info on chain.
Transaction block tx.
TransactionReceipt receipt of transaction.