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

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

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

Parameters

optional
salt: Uint8Array | string | null = [UNSUPPORTED]

Returns

Uint8Array