From 74b91c1f84b50c53f70e87007035d886cc7552cd Mon Sep 17 00:00:00 2001
From: stefan-mysten <135084671+stefan-mysten@users.noreply.github.com>
Date: Tue, 1 Oct 2024 06:40:15 -0700
Subject: [PATCH] sui-graphql-client: add method for querying total supply of a
coin (#17)
---
crates/sui-graphql-client/src/lib.rs | 29 ++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/crates/sui-graphql-client/src/lib.rs b/crates/sui-graphql-client/src/lib.rs
index 00bde3522..b1c3eb9b5 100644
--- a/crates/sui-graphql-client/src/lib.rs
+++ b/crates/sui-graphql-client/src/lib.rs
@@ -316,6 +316,7 @@ impl Client {
})
}
+ /// Get the coin metadata for the coin type.
pub async fn coin_metadata(&self, coin_type: &str) -> Result