public function getMinedBlocks($address, $blockType = EtherscanAPIConf::BLOCK_TYPE_BLOCKS, $page = null, $offset = null) {
        if (!in_array($blockType, EtherscanAPIConf::$blockTypes)) {
            throw new \Exception("Invalid block type");
        }

        $params = [
            'module' => "account",
            'action' => "getminedblocks",
            'address' => $address,
            'blocktype' => $blockType,
        ];

        if (!is_null($page)) {
            $params['page'] = (int)$page;
        }

        if (!is_null($offset)) {
            $params['offset'] = (int)$offset;
        }

        return $this->request->exec($params);
    }