Versions in this module Expand all Collapse all v1 v1.10.2 Jan 29, 2021 Changes in this version + func NewBlock(b *types.Block, blockArgs *rpc_common.BlockArgs, leader string) (interface{}, error) + func NewPublicEthService(hmy *hmy.Harmony, namespace string) rpc.API + func NewReceipt(tx interface{}, blockHash common.Hash, blockNumber, blockIndex uint64, ...) (interface{}, error) + type BlockWithFullTx struct + Difficulty uint64 + Epoch *hexutil.Big + ExtraData hexutil.Bytes + GasLimit hexutil.Uint64 + GasUsed hexutil.Uint64 + Hash common.Hash + LogsBloom ethtypes.Bloom + Miner string + MixHash common.Hash + Nonce uint64 + Number *hexutil.Big + ParentHash common.Hash + ReceiptsRoot common.Hash + Signers []string + Size hexutil.Uint64 + StateRoot common.Hash + Timestamp hexutil.Uint64 + Transactions []*Transaction + TransactionsRoot common.Hash + Uncles []common.Hash + ViewID *hexutil.Big + func NewBlockWithFullTx(b *types.Block, blockArgs *rpc_common.BlockArgs, leader string) (*BlockWithFullTx, error) + type BlockWithTxHash struct + Difficulty uint64 + Epoch *hexutil.Big + ExtraData hexutil.Bytes + GasLimit hexutil.Uint64 + GasUsed hexutil.Uint64 + Hash common.Hash + LogsBloom ethtypes.Bloom + Miner string + MixHash common.Hash + Nonce uint64 + Number *hexutil.Big + ParentHash common.Hash + ReceiptsRoot common.Hash + Signers []string + Size hexutil.Uint64 + StateRoot common.Hash + Timestamp hexutil.Uint64 + Transactions []common.Hash + TransactionsRoot common.Hash + Uncles []common.Hash + ViewID *hexutil.Big + func NewBlockWithTxHash(b *types.Block, blockArgs *rpc_common.BlockArgs, leader string) (*BlockWithTxHash, error) + type CxReceipt struct + Amount *hexutil.Big + BlockHash common.Hash + BlockNumber *hexutil.Big + From string + ShardID uint32 + To string + ToShardID uint32 + TxHash common.Hash + type PublicEthService struct + func (s *PublicEthService) GetBalance(ctx context.Context, address string, blockNr rpc.BlockNumber) (*hexutil.Big, error) + type Transaction struct + BlockHash common.Hash + BlockNumber *hexutil.Big + From string + Gas hexutil.Uint64 + GasPrice *hexutil.Big + Hash common.Hash + Input hexutil.Bytes + Nonce hexutil.Uint64 + R *hexutil.Big + S *hexutil.Big + ShardID uint32 + Timestamp hexutil.Uint64 + To string + ToShardID uint32 + TransactionIndex hexutil.Uint + V *hexutil.Big + Value *hexutil.Big + func NewTransaction(tx *types.Transaction, blockHash common.Hash, blockNumber uint64, ...) (*Transaction, error) + func NewTransactionFromBlockHash(b *types.Block, hash common.Hash) (*Transaction, error) + func NewTransactionFromBlockIndex(b *types.Block, index uint64) (*Transaction, error) + type TxReceipt struct + BlockHash common.Hash + BlockNumber hexutil.Uint64 + ContractAddress common.Address + CumulativeGasUsed hexutil.Uint64 + From string + GasUsed hexutil.Uint64 + Logs []*types.Log + LogsBloom ethtypes.Bloom + Root hexutil.Bytes + ShardID uint32 + Status hexutil.Uint + To string + TransactionHash common.Hash + TransactionIndex hexutil.Uint64 + func NewTxReceipt(tx *types.Transaction, blockHash common.Hash, blockNumber, blockIndex uint64, ...) (*TxReceipt, error)