import { apiContract } from "https://dotland.deno.dev/x/polkadot@0.2.45/mod.ts";
const { CodePromise } = apiContract;
Constructors
new
CodePromise(api: ApiPromise,
abi: string | Record<string, unknown> | Abi,
wasm: ,
| Uint8Array
| string
| Buffer
| null
| undefined