Skip to main content

Questions tagged [javascript]

Questions about JavaScript in the context of Substrate and Polkadot.

Filter by
Sorted by
Tagged with
9 votes
1 answer
530 views

How to get the balance of an account at a particular nonce using Polkadot.js API

I want get the balance of an account address at a particular nonce. I only know how to get the latest balance of an account address and its latest nonce (total number of transactions sent from that ...
Lee's user avatar
  • 111
2 votes
1 answer
92 views

How to create a tuple type using polkadot.js api

I am trying to create a tuple. I know we can create an enum by defining the type as MyEnum: { _enum: { 'account': String, 'accountId': 'u128' ...
Emmanuel Thomas's user avatar
1 vote
1 answer
184 views

Invalid Transaction: Transaction has a bad signature - Ledger signature into tx

I am attempting to submit a transaction using Polkadot JS API and a signature that has been signed by Ledger. Upon passing it to send I get the Invalid Transaction: Transaction has a bad signature ...
Ross's user avatar
  • 171