Interface: enplug
The Dashboard SDK can be accessed through the global enplug/window.enplug object in the app.
APIs exposed by the Dashboard SDK:
enplug.account- fetching and modifying assets, user and account dataenplug.dashboard- provides convenient standardized UI componentsenplug.social- social media related commands
Example usage of Dashboard SDK
const assets = await enplug.account.getAssets();note
To have these APIs available in your app, you need to install Dashboard SDK into your project.
Properties#
account#
• account: Account
dashboard#
• dashboard: Dashboard
social#
• social: Social