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

x/polkadot/types/mod.ts>GenericExtrinsicPayload

Package publishing for deno.land/x/polkadot
Go to Latest
class GenericExtrinsicPayload
extends AbstractBase<ExtrinsicPayloadVx>
import { GenericExtrinsicPayload } from "https://deno.land/x/polkadot@0.2.14/types/mod.ts";

Constructors

new
GenericExtrinsicPayload(
registry: Registry,
value?: Partial<ExtrinsicPayloadValue> | Uint8Array | string,
unnamed 2?: ExtrinsicPayloadOptions,
)

Properties

readonly
blockHash: Hash
readonly
era: GenericExtrinsicEra
readonly
genesisHash: Hash
readonly
method: Raw
readonly
nonce: ICompact<INumber>
readonly
specVersion: INumber
readonly
tip: ICompact<INumber>
readonly
transactionVersion: INumber

Methods

eq(other?: unknown): boolean
sign(signerPair: IKeyringPair): { signature: HexString; }
toHuman(isExtended?: boolean): AnyJson
toJSON(): any
toString(): string
toU8a(isBare?: BareOpts): Uint8Array