Skip to content

Commit

Permalink
Updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
erdimaden committed Jun 20, 2024
1 parent c868a47 commit a813ddb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/coinbase/address/external_address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export class ExternalAddress extends Address {
/**
* Returns the list of balances for the address.
*
* @returns {BalanceMap} - The map from asset ID to balance.
* @returns The map from asset ID to balance.
*/
public async listBalances(): Promise<BalanceMap> {
const response = await Coinbase.apiClients.externalAddress!.listExternalAddressBalances(
Expand All @@ -287,8 +287,8 @@ export class ExternalAddress extends Address {
/**
* Returns the balance of the provided asset.
*
* @param {string} assetId - The asset ID.
* @returns {Decimal} The balance of the asset.
* @param assetId - The asset ID.
* @returns The balance of the asset.
*/
async getBalance(assetId: string): Promise<Decimal> {
const response = await Coinbase.apiClients.externalAddress!.getExternalAddressBalance(
Expand All @@ -308,7 +308,7 @@ export class ExternalAddress extends Address {
* Requests faucet funds for the address.
* Only supported on testnet networks.
*
* @returns {Promise<FaucetTransaction>} The faucet transaction object.
* @returns The faucet transaction object.
* @throws {InternalError} If the request does not return a transaction hash.
* @throws {Error} If the request fails.
*/
Expand Down

0 comments on commit a813ddb

Please sign in to comment.