Skip to main content
6 votes
Accepted

Cannot map Enum JSON, unable to find 'aUSD' in token in api.tx.currencies.transfer

Looking at the extrinsics page, the currencyId is an Enum indicating the type of transfer. So you need to pass the Token explicitly. This should do the trick - const transfer = polkadot.tx.currencies....
Jaco's user avatar
  • 5,865
3 votes

How can I create a currencies.transfer transaction?

Thank you all and I have create the unsinged transaction successfully. The 'currencyId' parameter in the rpc request should start with "Token:" { "key": "//1234567890"...
Lyn's user avatar
  • 31
3 votes
Accepted

Is it possible to run moonbeam/Astar as a standalone network

It's possible. In this case, your network will have to run (and use) its own finality gadget (rather than that of the relay chain). You can implement the GRANDPA pallet in your network for block ...
Abdulbee's user avatar
  • 388
1 vote

List all balance changes of an account on a Substrate-based chain

There are more ways for balance in-/outflow to an account than balance being transferred (e.g. minted balance, burned balance). In addition, it can also be named differently (e.g. withdraw + deposit). ...
Daan van der Plas's user avatar
1 vote

"Cannot convert undefined or null to object" using polkadot.js with Acala network

Its a glitch with the metadata, i was getting the same error but tried again today and updated the metadata and its working now!
Mark's user avatar
  • 11
1 vote

Is it possible to run moonbeam/Astar as a standalone network

To run an Astar local node you have two options: astar-local is the the closest to live networks - and have a block time of 2 sec. To run it follow these instructions and run the node with (it will ...
P.Ossun's user avatar
  • 1,219
1 vote

How can I create a currencies.transfer transaction?

So the root of the problem is directly in the error. The dest: 1234 points to Decoding 1234: Invalid decoded address checksum which is alluding to the fact that the address is in an incorrect format. ...
Tarik Gul's user avatar
  • 1,131
1 vote

Locked Balance of an Account in Acala

The locked values are stored in balances.locks and the vesting information in vesting.vesting. The locks has identifiers that point to the specific pallets that performed the locks.
Werner S's user avatar
  • 629

Only top scored, non community-wiki answers of a minimum length are eligible