Skip to main content
Module

x/capi/mod.ts>known.CodeUploadReturnValue

[WIP] A framework for crafting interactions with Substrate chains
Latest
interface known.CodeUploadReturnValue
import { type known } from "https://deno.land/x/capi@v0.1.1-beta.1/mod.ts";
const { CodeUploadReturnValue } = known;

The result of successfully uploading a contract.

Properties

codeHash: string

The key under which the new code is stored.

deposit: NumberOrHex

The deposit that was reserved at the caller. Is zero when the code already existed.