getUrl

Returns the URL of the connected Bitcoin Computer Node.

Type

;() => string

Return Value

Base URL used for node HTTP/SSE requests (for example http://localhost:1031 or the default public regtest node).

Syntax

computer.getUrl()