dag_getBalance
Returns the current DAG balance.
Parameters
None
Return Type
String - The amount of DAG.
Example
TypeScript
await provider.request({ method: "dag_getBalance" });
// "1000"
Returns the current DAG balance.
None
String - The amount of DAG.
await provider.request({ method: "dag_getBalance" });
// "1000"