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

x/capi/mod.ts>known.CallRequest

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

A struct that encodes RPC parameters required for a call to a smart-contract.

Properties

origin: AccountId
dest: AccountId
gasLimit: NumberOrHex
storageDepositLimit: NumberOrHex | undefined
inputData: string