class types.GenericExtrinsicSignatureV4
implements IExtrinsicSignature
extends Struct
import { types } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { GenericExtrinsicSignatureV4 } = types;
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