class GenericExtrinsicSignatureV4
implements IExtrinsicSignature
extends Struct
import { GenericExtrinsicSignatureV4 } from "https://deno.land/x/polkadot@0.2.14/types/index.ts";
Constructors
new
GenericExtrinsicSignatureV4(registry: Registry,
value?: GenericExtrinsicSignatureV4 | Uint8Array,
unnamed 2?: ExtrinsicSignatureOptions,
Methods
protected
_injectSignature(): IExtrinsicSignatureaddSignature(): IExtrinsicSignature
signer: Address | Uint8Array | string,
signature: Uint8Array | HexString,
payload: ExtrinsicPayloadValue | Uint8Array | HexString,
createPayload(method: Call, options: SignatureOptions): GenericExtrinsicPayloadV4
sign(): IExtrinsicSignature
method: Call,
account: IKeyringPair,
options: SignatureOptions,
signFake(): IExtrinsicSignature
method: Call,
address: Address | Uint8Array | string,
options: SignatureOptions,
toU8a(isBare?: boolean): Uint8Array
Static Methods
decodeExtrinsicSignature(value?: GenericExtrinsicSignatureV4 | Uint8Array, isSigned?): GenericExtrinsicSignatureV4 | Uint8Array