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

x/polkadot/types/extrinsic/Extrinsic.ts>GenericExtrinsic

Package publishing for deno.land/x/polkadot
Go to Latest
class GenericExtrinsic
implements IExtrinsic<A>
extends ExtrinsicBase<A>
import { GenericExtrinsic } from "https://deno.land/x/polkadot@0.2.14/types/extrinsic/Extrinsic.ts";

Constructors

new
GenericExtrinsic(
registry: Registry,
value?:
| ExtrinsicValue
| Call
,
unnamed 2?: CreateOptions,
)

Type Parameters

optional
A extends AnyTuple = AnyTuple

Properties

readonly
hash: CodecHash

Methods

addSignature(
signer: Address | Uint8Array | string,
signature: Uint8Array | HexString,
payload: ExtrinsicPayloadValue | Uint8Array | HexString,
): GenericExtrinsic<A>
signFake(signer: Address | Uint8Array | string, options: SignatureOptions): GenericExtrinsic<A>
toHex(isBare?: boolean): HexString
toHuman(isExpanded?: boolean): AnyJson
toJSON(): string
toRawType(): string
toU8a(isBare?: boolean): Uint8Array
toU8aInner(): Uint8Array[]

Static Properties

LATEST_EXTRINSIC_VERSION