Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ExternalProvider

type ExternalProvider = {
isMetaMask?: boolean;
isStatus?: boolean;
host?: string;
path?: string;
sendAsync?: (request: {
method: string;
params?: Array<any>;
}
, callback: (error: any, response: any) => void) => void
;
send?: (request: {
method: string;
params?: Array<any>;
}
, callback: (error: any, response: any) => void) => void
;
request?: (request: {
method: string;
params?: Array<any>;
}
) => Promise<any>
;
}
;

§Type

§
{
isMetaMask?: boolean;
isStatus?: boolean;
host?: string;
path?: string;
sendAsync?: (request: {
method: string;
params?: Array<any>;
}
, callback: (error: any, response: any) => void) => void
;
send?: (request: {
method: string;
params?: Array<any>;
}
, callback: (error: any, response: any) => void) => void
;
request?: (request: {
method: string;
params?: Array<any>;
}
) => Promise<any>
;
}
[src]