🐕
DIPE Protocol on Dogecoin
  • Overview
    • 🐕DIPE | DMT Introduction
    • 💡General Information
  • Transaction Types
    • 🐕Deploy (D)
    • 🐕Mint (M)
    • 🐕Transfer (T)
    • 🐕Split (S)
    • 🐕Combine (C)
  • API Endpoints
    • Retrieve Address Events (UTXOs)
    • Retrieve Wallet Balance
  • Additional Guides
    • 💰Wallet Setup
    • 💵Minting on dipechain.xyz
Powered by GitBook
On this page
  • Endpoint
  • Description
  • Parameters
  • Example Request
  • Example Response
  • Response Fields
  • Notes
  1. API Endpoints

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.

PreviousRetrieve Address Events (UTXOs)NextWallet Setup

Last updated 8 months ago