api.procedures.types.ProcedureMethod - PolymeshAssociation/polymesh-sdk GitHub Wiki
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
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>