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

x/capi/mod.ts>$.int

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

Parameters

signed: boolean
size: 8 | 16 | 32

Returns

Codec<number>

Parameters

signed: boolean
size: 64 | 128 | 256

Returns

Codec<bigint>

Parameters

signed: boolean
size:
| 8
| 16
| 32
| 64
| 128
| 256

Returns

Codec<number> | Codec<bigint>

Parameters

signed: boolean
size:
| 8
| 16
| 32
| 64
| 128
| 256

Returns

Codec<number | bigint>