@polkadot/types
Version:
Implementation of the Parity codec
5 lines (4 loc) • 304 B
TypeScript
import type { SignOptions } from '@polkadot/keyring/types';
import type { Registry } from '@polkadot/types-codec/types';
import type { IKeyringPair } from '../types/index.js';
export declare function sign(registry: Registry, signerPair: IKeyringPair, u8a: Uint8Array, options?: SignOptions): Uint8Array;