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"

Last updated

Was this helpful?