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

x/polkadot/types/extrinsic/index.ts>GenericExtrinsicSignatureV4

Package publishing for deno.land/x/polkadot
Go to Latest
class GenericExtrinsicSignatureV4
implements IExtrinsicSignature
extends Struct
import { GenericExtrinsicSignatureV4 } from "https://deno.land/x/polkadot@0.2.17/types/extrinsic/index.ts";

Constructors

new
GenericExtrinsicSignatureV4(
registry: Registry,
value?: GenericExtrinsicSignatureV4 | Uint8Array,
unnamed 2?: ExtrinsicSignatureOptions,
)

Properties

readonly
encodedLength: number
readonly
era: ExtrinsicEra
readonly
isSigned: boolean
readonly
multiSignature: ExtrinsicSignature
readonly
nonce: ICompact<INumber>
readonly
signature: EcdsaSignature | Ed25519Signature | Sr25519Signature
readonly
signer: Address
readonly
tip: ICompact<INumber>

Methods

protected
_injectSignature(
signer: Address,
signature: ExtrinsicSignature,
): IExtrinsicSignature
addSignature(
signer: Address | Uint8Array | string,
signature: Uint8Array | HexString,
payload: ExtrinsicPayloadValue | Uint8Array | HexString,
): IExtrinsicSignature
createPayload(method: Call, options: SignatureOptions): GenericExtrinsicPayloadV4
sign(
method: Call,
account: IKeyringPair,
options: SignatureOptions,
): IExtrinsicSignature
signFake(
method: Call,
address: Address | Uint8Array | string,
options: SignatureOptions,
): IExtrinsicSignature
toU8a(isBare?: boolean): Uint8Array