IAgentContext interface
Standard plugin method context interface
Signature:
export interface IAgentContext<T extends IPluginMethodMap>
Remarks
When executing plugin method, you don't need to pass in the context. It is done automatically by the agent
Example
await agent.resolveDid({
didUrl: 'did:example:123',
})
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
TAgent<T> |
Configured agent |