Skip to main content
Version: 26.2.x

Interface: ProcedureMethod<MethodArgs, ProcedureReturnValue, ReturnValue>

api/procedures/types.ProcedureMethod

Type parameters

NameType
MethodArgsMethodArgs
ProcedureReturnValueProcedureReturnValue
ReturnValueProcedureReturnValue

Callable

ProcedureMethod

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

Parameters

NameType
argsMethodArgs
opts?ProcedureOpts

Returns

Promise<GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>>

Defined in

api/procedures/types.ts:164

Properties

checkAuthorization

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

Type declaration

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

Parameters
NameType
argsMethodArgs
opts?ProcedureOpts
Returns

Promise<ProcedureAuthorizationStatus>

Defined in

api/procedures/types.ts:167