docs
docs copied to clipboard
Derives are not covered
Detour into derives states:
The api.derive interfaces will be covered in a follow-up section
However there is no follow-up section 🥹
Those are tricky - trying to keep those current would be a nightmare since it really is into undocumented and very unstable territory. (They change/break without concern about external usage)
really is into undocumented and very unstable territory.
Maybe just mention the commonly used ones in the cookbook?
const { availableBalance } = await api.derive.balances.all(address)
// instead of
const { data: { free: availableBalance } } = await api.query.system.account(address)
I think there could be many more that I am not aware of.
Btw: I will be happy to write it down.
This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.