Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/api-contract/mod.ts>CodePromise

Package publishing for deno.land/x/polkadot
Go to Latest
class CodePromise
extends Code<"promise">
import { CodePromise } from "https://deno.land/x/polkadot@0.2.23/api-contract/mod.ts";

Constructors

new
CodePromise(
abi: string | Record<string, unknown> | Abi,
wasm:
| Uint8Array
| string
| Buffer
| null
| undefined
,
)