pub async fn balance(
        &self,
        signer: impl ToPublicKey,
        chain_id: &ChainId,
        denom: &Identifier,
    ) -> Result<Decimal> {
        let chain = self
            .get(chain_id)
            .await?
            .ok_or_else(|| anyhow!("chain details not found when fetching balance"))?;

        chain.get_balance(signer, denom).await
    }
/// Fetches balance of given denom on IBC enabled chain
Fetches balance of given denom on IBC enabled chain
Fetches balance of given denom on IBC enabled chain
pub async fn balance(
        &self,
        signer: impl ToPublicKey,
        chain_id: &ChainId,
        denom: &Identifier,
    ) -> Result<Decimal> {
        let chain = self
            .get(chain_id)
            .await?
            .ok_or_else(|| anyhow!("chain details not found when fetching balance"))?;
        chain.get_balance(signer, denom).await
    }
pub async fn balance ( & self , signer : impl ToPublicKey , chain_id : & ChainId , denom : & Identifier , ) -> Result < Decimal > { let chain = self . get ( chain_id ) . await ? . ok_or_else ( | | anyhow ! ( " " ) ) ? ; chain . get_balance ( signer , denom ) . await }
Fetches balance of given denom on IBC enabled chain
Fetches balance of given denom on IBC enabled chain
&self
signer
impl ToPublicKey
chain_id
&ChainId
denom
&Identifier
&self
signer
impl ToPublicKey
chain_id
&ChainId
denom
&Identifier