docs icon indicating copy to clipboard operation
docs copied to clipboard

This is the documentation portal for all Polkadot and Substrate related tools and libraries in the polkadot-js family of repos.

Results 38 docs issues
Sort by recently updated
recently updated
newest added

updated link to the incrementer example

I would like to update this page because it is no longer functional in the new version 10.+ According to this [issue](https://github.com/polkadot-js/api/issues/5540), this is the only correct way to generate...

instantiate is linked to a wrong page link `http://localhost:8080/substrate/rpc#instantiaterequest-instantiaterequest-at-blockhash-contractinstantiateresult` it should be replaced by `https://polkadot.js.org/docs/substrate/rpc/#instantiaterequest-instantiaterequest-at-blockhash-contractinstantiateresult`

### Problem If you are following the docs, you encounter the [const section](https://polkadot.js.org/docs/api/start/api.consts) . You are typing happily the examples in your editor. You assume you get something but you...

If you follow the API docs here https://polkadot.js.org/docs/substrate/storage#authoritydiscovery and call `api.query.authorityDiscovery.keys()` after connecting to WS provider wss://rpc.polkadot.io, it returns `TypeError: Cannot read property 'keys' of undefined`. This was reported here...

support

Lots of comments here - https://github.com/polkadot-js/api/issues/5540 There are basically 3 options - 1. `node --loader ts-node/esm node_modules/.bin/polkadot-types-from-defs --package ...` 2. `ts-node --esm --skip-project node_modules/.bin/polkadot-types-from-defs --package ...` (Some caveats with [resolutions](https://github.com/polkadot-js/api/issues/5540#issuecomment-1472309950))...

-pr appreciated

Hi, I was trying to calculate fee estimation for a contract call, but [the instructions](https://polkadot.js.org/docs/api-contract/start/contract.tx/#cost-estimation) from the documentation might not work. They suggest using `-1` as the gas limit, but...

stale

Currently api.derive is not being documented, making it difficult to work with. i.e: api.derive.staking.electedInfo exists, provide useful information but is not found in the existing docs

When I, as a chrome plug-in wallet developer, reference @polkadot/api, I will get this error after starting the project. ![image](https://github.com/polkadot-js/docs/assets/73459953/dbc52f85-b2a9-40c7-853e-3c1282f04e03)

My Dapp node url is currently localhost:9911 hardcoded. How can my Dapp get that URL from Polkadotjs ?