Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/polkadot/api-contract/base/index.ts>Code

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

Constructors

new
Code(
api: ApiBase<ApiType>,
abi: string | Record<string, unknown> | Abi,
wasm:
| Uint8Array
| string
| Buffer
| null
| undefined
,
decorateMethod: DecorateMethod<ApiType>,
)

Type Parameters

ApiType extends ApiTypes

Properties

readonly
code: Uint8Array
readonly
tx: MapConstructorExec<ApiType>