Composes the API, i.e. setup the environment and mounts the API structure with its functions.
const api = composeApi({
nodeHost: 'https://wallet1.burst-team.us:2083', // one of the mainnet nodes
apiRootUrl: '/burst' // endpoint to the BURST API
})
Note, that this method mounts the entire API, i.e. all available methods. One may also customize the API composition using ApiComposer.
necessary execution context
The complete API
Generated using TypeDoc