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

x/polkadot/api/types/submittable.ts>SubmittableExtrinsic

Package publishing for deno.land/x/polkadot
Go to Latest
interface SubmittableExtrinsic
implements Extrinsic
import { type SubmittableExtrinsic } from "https://deno.land/x/polkadot@0.2.27/api/types/submittable.ts";

Properties

hasDryRun: boolean

true if api.rpc.system.dryRun is available, enabling dryRun(...)

hasPaymentInfo: boolean

true if api.call.transactionPaymentApi.queryInfo is available, enabling paymentInfo(...)

Methods

dryRun(account: AddressOrPair, options?: Partial<SignerOptions>): SubmittableDryRunResult<ApiType>
paymentInfo(account: AddressOrPair, options?: Partial<SignerOptions>): SubmittablePaymentResult<ApiType>
signAsync(account: AddressOrPair, _options?: Partial<SignerOptions>): PromiseOrObs<ApiType, this>
signAndSend(account: AddressOrPair, options?: Partial<SignerOptions>): SubmittableResultResult<ApiType, R>
signAndSend(account: AddressOrPair, statusCb: Callback<R>): SubmittableResultSubscription<ApiType>
signAndSend(
account: AddressOrPair,
options: Partial<SignerOptions>,
statusCb?: Callback<R>,
): SubmittableResultSubscription<ApiType, R>
withResultTransform(transform: (input: ISubmittableResult) => ISubmittableResult): this