4

I wanted to try out AccountIndex feature on Westend: https://wiki.polkadot.network/docs/learn-accounts#indices and claimed an index: https://westend.subscan.io/extrinsic/11590551-2

When I try to do balance transfer using the Account Index on Polkadot-JS Apps UI, the transaction fails. Any idea why this is happening?

enter image description here

1
  • 1
    I was able to replicate this issue as well.
    – Bruno
    Commented Jul 5, 2022 at 19:56

1 Answer 1

4

This is not supported on-chain:

You always need to do the id lookup off-chain.

The second parameter of AccountIdLookup is the id which is set to () aka "nothing".

This was done to make the benchmarking predictable. Otherwise the worst case of each extrinsic would include the lookup of the ID to accountId.

Thanks Basti for this answer.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.