I. Introduction
Blockchain is a decentralized ledger which is originally used in Bitcoin network [1]. In a blockchain, transactions are securely stored in the blocks and the blocks are concatenated using cryptography. Besides the Bitcon transactions, blockchains are widely used in processing various aspects of data nowadays. For example, Ethereum provides blockchain platforms for developing smart contracts which process a large number of various transactions such as financial, health or sports records [2].