func (c *client) BlockNumber(ctx context.Context) (*big.Int, error) {
	var r string
	err := c.rpc.CallContext(ctx, &r, "eth_blockNumber")
	if err != nil {
		return nil, err
	}
	return hexutil.DecodeBig(r)
}
// BlockNumber returns the current block number.
BlockNumber returns the current block number.
// BlockNumber returns the current block number .
func (c *client) BlockNumber(ctx context.Context) (*big.Int, error) {
	var r string
	err := c.rpc.CallContext(ctx, &r, "eth_blockNumber")
	if err != nil {
		return nil, err
	}
	return hexutil.DecodeBig(r)
}
func ( c * client ) BlockNumber ( ctx context . Context ) ( * big . Int , error ) { var r string err := c . rpc . CallContext ( ctx , & r , " " ) if err != nil { return nil , err } return hexutil . DecodeBig ( r ) }
BlockNumber returns the current block number.
BlockNumber returns the current block number .