Skip to content

api.procedures.types.ProcedureMethod

prashantasdeveloper edited this page Dec 2, 2024 · 18 revisions

Interface: ProcedureMethod<MethodArgs, ProcedureReturnValue, ReturnValue>

api/procedures/types.ProcedureMethod

Type parameters

Name Type
MethodArgs MethodArgs
ProcedureReturnValue ProcedureReturnValue
ReturnValue ProcedureReturnValue

Callable

ProcedureMethod

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

Parameters

Name Type
args MethodArgs
opts? ProcedureOpts

Returns

Promise<GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>>

Defined in

api/procedures/types.ts:164

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

Clone this wiki locally