-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Labels
DocumentationUpdates or additions to guides, API references, and comments to aid SDK understanding.Updates or additions to guides, API references, and comments to aid SDK understanding.SupportTracks issues or requests related to troubleshooting, answering questions, and user assistance.Tracks issues or requests related to troubleshooting, answering questions, and user assistance.
Description
The documentation of HttpProvider states, that it could be used with the ApiPromise
.
Trying this, we get the error: Api can only be used with a provider supporting subscriptions
, which is fired by @polkadot/api/Base.js:101
* const api = new Api(provider); |
How is the HttpProvider supposed to work?
Metadata
Metadata
Assignees
Labels
DocumentationUpdates or additions to guides, API references, and comments to aid SDK understanding.Updates or additions to guides, API references, and comments to aid SDK understanding.SupportTracks issues or requests related to troubleshooting, answering questions, and user assistance.Tracks issues or requests related to troubleshooting, answering questions, and user assistance.