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