dag_getMetagraphBalance

Returns the balance of the selected metagraph token.

Parameters

Name
Type
Description

metagraphAddress

DAGAddress

The address of the metagraph token

Return Type

String - Balance of the selected metagraph token

Example

await provider.request({
  method: "dag_getMetagraphBalance",
  params: ["DAG0KheCYqEmFoQEWdFwrZGaXabJsWJyUvjpsLjE"],
});
// "1000"

Last updated

Was this helpful?