Module

x/polkadot/wasm-bridge/types.ts>BridgeBase

Package publishing for deno.land/x/polkadot
Go to Latest
interface BridgeBase
implements InitResult<C>
import { type BridgeBase } from "https://dotland.deno.dev/x/polkadot@0.2.35/wasm-bridge/types.ts";

Methods

init(createWasm?: InitFn<C>): Promise<C | null>
getObject(idx: number): unknown
dropObject(idx: number): void
takeObject(idx: number): unknown
addObject(obj: unknown): number
getInt32(): Int32Array
getUint8(): Uint8Array
getU8a(ptr: number, len: number): Uint8Array
getString(ptr: number, len: number): string
allocU8a(arg: Uint8Array): [number, number]
allocString(arg: string): [number, number]
resultU8a(): Uint8Array
resultString(): string