Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/datastructure/blockChain/helper.d.ts>BlockChainApi

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

Properties

length: number

Methods

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