Questions tagged [sub-account]
The sub-account tag has no usage guidance.
1
question
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((...