Getting Started
Last updated
Was this helpful?
Last updated
Was this helpful?
To start using API features, as the other elements, we start by adding the Polkadot API element on the page. Make sure it is not in a hidden element or popup. Once you added the element, you will notice that it has one optional field.
RPC URL This is an optional field, here you can indicate the chain to connect to. You can leave it empty, the plugin will connect to Polkadot mainnet in this case, the RPC URL of which is wss://rpc.polkadot.io For example, if you want to connect to Westend testnet, use its url which is: wss://westend-rpc.polkadot.io
The API initialisation can take a few seconds, this state will show you if it is in progress or no.
If the state is YES, it means that the API is still initialising and it is not ready to be used yet
If it is NO, the API is ready to be used
Shows the decimals of the token of the connected chain.
Shows the full chain name, for example Polkadot, Westend etc.
Short symbol of the chain, for example DOT, WND etc.