export default class Transactions implements Iterable<any> {
    private blockIterator: Blocks;
    private blockHeight: number = 1;
    private txIdx: number = 0;
    private block;

    constructor() {
        this.blockIterator = new Blocks();
        this.block = this.blockIterator[0];
    }

    public [Symbol.iterator]() {
        return {
            next: function (): IteratorResult<any> {
                return {