Properties
Optional
host
host?: string
Optional
isMetaMask
isMetaMask?: boolean
Optional
isStatus
isStatus?: boolean
Optional
path
path?: string
Optional
request
request?: ((request) => Promise<any>)
Type declaration
-
- (request): Promise<any>
-
Parameters
-
request: {
method: string;
params?: any[];
}
-
method: string
-
Optional
params?: any[]
Returns Promise<any>
selectedAddress
selectedAddress: null | string
Optional
send
send?: ((request, callback) => void)
Type declaration
-
- (request, callback): void
-
Parameters
-
request: {
method: string;
params?: any[];
}
-
method: string
-
Optional
params?: any[]
-
callback: ((error, response) => void)
-
- (error, response): void
-
Returns void
Returns void
Optional
sendAsync
sendAsync?: ((request, callback) => void)
Type declaration
-
- (request, callback): void
-
Parameters
-
request: {
method: string;
params?: any[];
}
-
method: string
-
Optional
params?: any[]
-
callback: ((error, response) => void)
-
- (error, response): void
-
Returns void
Returns void