Skip to main content
Module

x/capi/mod.ts>$.createCodec

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

Type Parameters

I
optional
O = I

Parameters

_codec: ThisType<Codec<I, O>> & Pick<Codec<I, O>,
| "_encode"
| "_decode"
| "_assert"
| "_staticSize"
| "_metadata"
>