Misc
closing
closing (handler: (data: {}) => void): [() => void, Promise<void>]
Parameters:
handler
:(data: {}) => void
Returns:
[() => void, Promise<void>]
Source: index.d.ts, line 130, character 9
createBackup
createBackup (str: string): Promise<void>
Creates node backup onder the specified file name. The method requires that the lotus daemon is running with the LOTUS_BACKUP_BASE_PATH environment variable set to some path, and that the path specified when calling CreateBackup is within the base path
Parameters:
str
:string
Returns:
Promise<void>
Source: index.d.ts, line 352, character 14
id
id (): Promise<string>
Returns:
Promise<string>
Source: index.d.ts, line 131, character 4
shutdown
shutdown (): Promise<void>
Returns:
Promise<void>
Source: index.d.ts, line 146, character 10
version
version (): Promise<Version>
tODO: Info() (name, ...) ?
Returns:
Promise<Version>