Module

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

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

Constructors

new
Contract(
api: ApiBase<ApiType>,
abi: string | Record<string, unknown> | Abi,
address: string | AccountId,
decorateMethod: DecorateMethod<ApiType>,
)

Type Parameters

ApiType extends ApiTypes

Properties

readonly
address: AccountId
readonly
query: MapMessageQuery<ApiType>
readonly
tx: MapMessageTx<ApiType>