Polkadot JS API template
Last updated
Last updated
Sample code for connecting to the blockchain network
Run the file at the path below, also refer to the Github link attached below.
tokenSymbol The currency symbol or name e.g. WND, tokenSymbol for Westend network
What is Westend network? Testnets and Westend network
Output
ss58Format ss58 is the address format used. The format contains an address type prefix that identifies an address belonging to a specific network. e.g. 42, is the network prefix for Westend network
tokenDecimals The number of decimal places used to represent the tokenβs smallest unit e.g. 12, tokenDecimals for Westend network
More explanation on the above output terms is ahead. Hold on
Additional resource