Skip to main content
Module

x/polkadot/mod.ts>types.GenericExtrinsic

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

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