Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
import '@polkadot/api/augment/rpc';
import './augment-api-consts';
import './augment-api-errors';
import './augment-api-events';
import './augment-api-query';
import './augment-api-tx';
import './augment-api-rpc';
In package @polkadot/api@7.12, there is no '@polkadot/api/augment/rpc'
TS will throw Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './augment/rpc' is not defined by "exports" in /@polkadot/api/package.json
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
package version:
Generate src/interfaces/argument-api.ts
In package
@polkadot/api@7.12
, there is no '@polkadot/api/augment/rpc' TS will throwError [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './augment/rpc' is not defined by "exports" in /@polkadot/api/package.json