Skip to content

api.procedures.types.OptionalArgsProcedureMethod

prashantasdeveloper edited this page Dec 2, 2024 · 18 revisions

Interface: OptionalArgsProcedureMethod<MethodArgs, ProcedureReturnValue, ReturnValue>

api/procedures/types.OptionalArgsProcedureMethod

Type parameters

Name Type
MethodArgs MethodArgs
ProcedureReturnValue ProcedureReturnValue
ReturnValue ProcedureReturnValue

Callable

OptionalArgsProcedureMethod

OptionalArgsProcedureMethod(args?, opts?): Promise<GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>>

Parameters

Name Type
args? MethodArgs
opts? ProcedureOpts

Returns

Promise<GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>>

Defined in

api/procedures/types.ts:178

Table of contents

Properties

Properties

checkAuthorization

checkAuthorization: (args?: MethodArgs, opts?: ProcedureOpts) => Promise<ProcedureAuthorizationStatus>

Type declaration

▸ (args?, opts?): Promise<ProcedureAuthorizationStatus>

Parameters
Name Type
args? MethodArgs
opts? ProcedureOpts
Returns

Promise<ProcedureAuthorizationStatus>

Defined in

api/procedures/types.ts:181

Clone this wiki locally