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

x/polkadot/api-contract/base/util.ts>convertWeight

Package publishing for deno.land/x/polkadot
Go to Latest
function convertWeight
import { convertWeight } from "https://deno.land/x/polkadot@0.2.27/api-contract/base/util.ts";

Parameters

weight:
| bigint
| string
| number
| BN