Package ethclient
implements interface calls by directly calling the respective RPC API call. It requrired a trusted API endpoint because it does not verify the received results.
BlockByHash(ctx context.Context, blockHash common.Hash) (*types.Block, error)
eth_getBlockByHash(blockHash, fullTxs=true)
BlockByNumber(ctx context.Context, blockNumber *big.Int) (*types.Block, error)