Retrieve Wallet Balance

Endpoint

GET /wallet/{ADDRESS}

Description

This endpoint returns the current balance of all tokens associated with the given address.

Parameters

  • {ADDRESS}: The Dogecoin address to query (required)

Example Request

GET https://dipe-chain-api-bf9e112f1ffc.herokuapp.com/wallet/DCAPHDbvxPQ5zsnKVg2wQteUNYFv1wiRqN

Example Response

{
  "_id": "667f9bcc1bf05bf15ffbb9ab",
  "walletId": "DCAPHDbvxPQ5zsnKVg2wQteUNYFv1wiRqN",
  "__v": 0,
  "tokens": {
    "dipe": 71463,
    "poge": 200,
  }
}

Response Fields

  • _id: Unique identifier for the wallet record

  • walletId: The Dogecoin address queried

  • __v: Version key (internal use)

  • tokens: Object containing token balances

    • Each key is a token identifier

    • Each value is the current balance of that token

Notes

  • This endpoint provides a quick way to retrieve the total balance for each token associated with an address.

  • The balance shown here is the sum of all valid UTXOs for each token.

  • For detailed transaction history or individual UTXO information, use the Address Events endpoint.

Last updated