Timeline for Initiating a multisig tx from javascript
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23 at 23:05 | comment | added | Shawn Tabrizi♦ |
@ytresza I just ran the production polkadot node using the --dev flag. The error you are getting in your own code means that your timeinfo type is not correct, and you should check how you are getting it. My code queries the chain. Perhaps your type is not an option, so you do not need to unwrap, but printing the value or other debugging will tell you more about the solution.
|
|
May 22 at 11:57 | comment | added | ytresza |
I called this in my code which otherwise worked fine. I wanted to try your code as is, but I can't seem to get a local node running with the multisig pallet. I tried on Westend but it seems it's not setting up the api as expected (TypeError: api.tx.balances.transfer is not a function ). Anyway, priorities have shifted and I'm taking another approach now.
|
|
May 16 at 15:11 | comment | added | Shawn Tabrizi♦ | You are getting this error with my sample or the sample you linked to? | |
May 16 at 7:30 | comment | added | ytresza |
In the meantime I was pointed to github.com/allenzhong/polkadot-multisig-example which is similar to your code. But this does not work for me: const timepoint = timeinfo.unwrap().when; I get Property 'unwrap' does not exist on type 'Codec' .
|
|
May 15 at 18:21 | history | edited | Shawn Tabrizi♦ | CC BY-SA 4.0 |
deleted 74 characters in body
|
May 15 at 18:15 | history | answered | Shawn Tabrizi♦ | CC BY-SA 4.0 |