Skip to main content
Version: 21.0.x

Interface: ProcedureMethod<MethodArgs, ProcedureReturnValue, ReturnValue>

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

types/index.ts:1531

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

types/index.ts:1534