Interface SupportedProvider
interface SupportedProvider { getSigner?(): unknown; getSigner?(addressOrIndex?): Promise<unknown>; request?(args): Promise<unknown>; send?(method,
params?): Promise<unknown>; } Methods
Optional
getSigner
- getSigner(): unknown
Returns unknown
- getSigner(addressOrIndex?): Promise<unknown>
Parameters
Optional
addressOrIndex: string | number
Returns Promise<unknown>
Optional
request
- request(args): Promise<unknown>
Parameters
- args: {
method: string;
params?: unknown[];
}method: string
Optional
params?: unknown[]
Returns Promise<unknown>
Optional
send
- send(method, params?): Promise<unknown>
Parameters
- method: string
Optional
params: unknown[]
Returns Promise<unknown>