Skip to main content
Module

x/capi/rpc/known/mod.ts>CodeUploadReturnValue

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

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.