0

https://polkadot.js.org/docs/substrate/storage#accountaccountid32-framesystemaccountinfo

account(AccountId32): FrameSystemAccountInfo
interface: api.query.system.account
summary: The full account information for a particular account ID.

I want to find the substrate implementation in rust for the above polkadot js API interface?

1 Answer 1

1

Generally, if this is a Substrate pallet.

'Substrate' repository -> 'frame' folder -> '<PALLET_NAME>'(here is system) -> <STORAGE_NAME>(here is account)

e.g. https://github.com/paritytech/substrate/blob/29466db4b711730f5fa95f3fe1f289871b2c7c5c/frame/system/src/lib.rs#L529-L538

1
  • thank you so much
    – muddlebee
    Commented Mar 18, 2023 at 16:50

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.