Module

x/polkadot/mod.ts>types.GenericExtrinsicPayload

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

Constructors

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

Properties

readonly
blockHash: BlockHash
readonly
era: GenericExtrinsicEra
readonly
genesisHash: BlockHash
readonly
method: Bytes
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
toRawType(): string
toString(): string
toU8a(isBare?: BareOpts): Uint8Array