Skip to main content

Questions tagged [sub-account]

Filter by
Sorted by
Tagged with
11 votes
1 answer
345 views

How can we get a Pallet's Sub-Account Address using PolkadotJS API

We have a pallet which has their own account e.g *b"replace_" and we are able to generate sub accounts addresses like so: let sub_account: T::AccountId = T::PalletId::get().into_sub_account((...
moolimike's user avatar
  • 345