store_encrypted

Call v401 → current New #2

Store an encrypted extrinsic for later execution in on_initialize.

View calls on chain

Click items to navigate. Pan and zoom to explore.

From Chain Metadata

Store an encrypted extrinsic for later execution in on_initialize.

Input Parameters

#NameTypeDescription
0
encrypted_call
BoundedVec encrypted_call (BoundedVec)

Permissions

Origin
Unknown
Required Role

Permission data inferred from metadata. May be incomplete.

Code Examples

import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";

const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });

// Build store_encrypted call
const encrypted_call = 0 as any /* BoundedVec */;

const call = api.tx[stringCamelCase("MevShield")][stringCamelCase("store_encrypted")](
  encrypted_call
);

Runtime Info

View Source
Pallet Index
30
Call Index
2
First Version
v401
Current Version
v401