Module

x/datastructure/blockChain/helper.d.ts

Implement different Data Structures using TypeScript. Deno Third-party Module.
Latest
interface BlockChainApi
import { type BlockChainApi } from "https://deno.land/x/datastructure@1.2.1/blockChain/helper.d.ts";

Properties

length: number

Methods

createBlock(data: DataType<any>): boolean
search(key: null | string, index: null | number): boolean | BlockType
latestBlock(): boolean | BlockType
log(key: null | string, index: null | number): void
iterator(): Generator
checkValidation(): boolean