Skip to content

api.procedures.types.OptionalArgsProcedureMethod

polymath-eric edited this page Jun 11, 2024 · 9 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:166

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:169

Clone this wiki locally