Module

x/polkadot/types/mod.ts>GenericExtrinsic

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

Constructors

new
GenericExtrinsic(
registry: Registry,
value?:
| ExtrinsicValue
| AnyU8a
| 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>
inspect(): Inspect
sign(account: IKeyringPair, options: SignatureOptions): 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