Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/capi/mod.ts>known.CodeUploadRequest

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

A struct that encodes RPC parameters required for a call to upload a new code.

Properties

origin: AccountId
code: string
storageDepositLimit: NumberOrHex | undefined