Versions in this module Expand all Collapse all v0 v0.1.0 Nov 9, 2021 Changes in this version + type BlockNumberAndIndex struct + Index uint32 + Number uint64 + type CallRequest struct + Data []byte + Tag ecommon.BlockParameter + To common.Address + type EstimateGasRequest struct + Data []byte + Gas *big.Int + GasPrice *big.Int + To common.Address + Value *big.Int + type GetCodeRequest struct + Address common.Address + Tag ecommon.BlockParameter + type GetStorageRequest struct + Address common.Address + Position uint32 + Tag ecommon.BlockParameter + type ProxyBaseBlockInfo struct + Difficulty *big.Int + ExtraData []byte + GasLimit *big.Int + GasUsed *big.Int + Hash common.Hash + LogsBloom []byte + Miner common.Address + MixHash common.Hash + Nonce *big.Int + Number uint64 + ParentHash common.Hash + ReceiptsRoot common.Hash + SHA3Uncles common.Hash + Size uint64 + StateRoot common.Hash + Timestamp time.Time + TransactionsRoot common.Hash + Uncles []common.Hash + type ProxyClient struct + API *httpapi.APIClient + func (c *ProxyClient) BlockNumber(ctx context.Context) (uint64, error) + func (c *ProxyClient) Call(ctx context.Context, req *CallRequest) ([]byte, error) + func (c *ProxyClient) EstimateGas(ctx context.Context, req *EstimateGasRequest) (*big.Int, error) + func (c *ProxyClient) GasPrice(ctx context.Context) (*big.Int, error) + func (c *ProxyClient) GetBlockByNumberFull(ctx context.Context, number uint64) (*ProxyFullBlockInfo, error) + func (c *ProxyClient) GetBlockByNumberSummary(ctx context.Context, number uint64) (*ProxySummaryBlockInfo, error) + func (c *ProxyClient) GetBlockTransactionCountByNumber(ctx context.Context, number uint64) (uint32, error) + func (c *ProxyClient) GetCode(ctx context.Context, req *GetCodeRequest) ([]byte, error) + func (c *ProxyClient) GetStorageAt(ctx context.Context, req *GetStorageRequest) ([]byte, error) + func (c *ProxyClient) GetTransactionByBlockNumberAndIndex(ctx context.Context, req *BlockNumberAndIndex) (*ProxyTransactionInfo, error) + func (c *ProxyClient) GetTransactionByHash(ctx context.Context, txHash common.Hash) (*ProxyTransactionInfo, error) + func (c *ProxyClient) GetTransactionCount(ctx context.Context, req *TxCountRequest) (uint64, error) + func (c *ProxyClient) GetTransactionReceipt(ctx context.Context, txHash common.Hash) (*ProxyTransactionReceipt, error) + func (c *ProxyClient) GetUncleByBlockNumberAndIndex(ctx context.Context, req *BlockNumberAndIndex) (*ProxyUncleBlockInfo, error) + func (c *ProxyClient) SendRawTransaction(ctx context.Context, data []byte) (result common.Hash, err error) + type ProxyFullBlockInfo struct + TotalDifficulty *big.Int + Transactions []ProxyTransactionInfo + type ProxySummaryBlockInfo struct + TotalDifficulty *big.Int + Transactions []common.Hash + type ProxyTransactionInfo struct + BlockHash common.Hash + BlockNumber uint64 + From common.Address + Gas *big.Int + GasPrice *big.Int + Hash common.Hash + Input []byte + Nonce uint64 + R *big.Int + S *big.Int + To common.Address + TransactionIndex uint64 + Type uint32 + V uint32 + Value *big.Int + type ProxyTransactionReceipt struct + BlockHash common.Hash + BlockNumber uint64 + ContractAddress *common.Address + CumulativeGasUsed *big.Int + EffectiveGasPrice *big.Int + From common.Address + GasUsed *big.Int + Logs []ProxyTxLog + LogsBloom []byte + Status bool + To common.Address + TransactionHash common.Hash + TransactionIndex uint32 + Type uint32 + type ProxyTxLog struct + Address common.Address + BlockHash common.Hash + BlockNumber uint64 + Data []byte + LogIndex uint32 + Removed bool + Topics []common.Hash + TransactionHash common.Hash + TransactionIndex uint32 + TransactionLogIndex uint32 + Type string + type ProxyUncleBlockInfo struct + BaseFeePerGas *big.Int + type TxCountRequest struct + Address common.Address + Tag ecommon.BlockParameter