Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/polkadot/mod.ts>api.Keyring#addFromPair

Package publishing for deno.land/x/polkadot
Go to Latest
method api.Keyring.prototype.addFromPair
Re-export
import { api } from "https://deno.land/x/polkadot@0.2.27/mod.ts";
const { Keyring } = api;

Parameters

pair: Keypair
optional
meta: KeyringPair$Meta = [UNSUPPORTED]
optional
type: KeypairType = [UNSUPPORTED]

Returns

KeyringPair