πŸ’ΈGet Assets for Multisig Address

Developers can utilize the SDK to retrieve the list of assets held by a specific multisig address. This functionality enables convenient access to asset information within the multisig wallet.

const multisigAddress = '...'; // multisig address for which you want to fetch details.

const { data, error } = await client.getAssetsForAddress(multisigAddress);
if (data){
    console.log(data)
    // use your data
}
else if(error){
    console.log(error)
}

Response Data

[
  {
    "name": "Rasputin Online Coin",
    "logoURI": "https://s2.coinmarketcap.com/static/img/coins/64x64/2156.png",
    "symbol": "ROC",
    "balance_usd": "",
    "balance_token": "5.000"
  }
]

Generic Error

Last updated