weth

Get Balance

🚧 Deprecation notice

This endpoint will be deprecated on 4 November 2026. Use GET /defi/v1/fungibletoken/getuserbalance instead.

Retrieves the current WETH balance for a specified wallet address across multiple networks. It accepts optional parameters (RPC, chain ID, chain symbol) to target a specific network, making it ideal for portfolio tracking and wallet management.

💡 Compute Unit Value: 45 (Fixed)

get/defi/v1/weth/getbalance

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/weth/getbalance
  • Auth
    API key in header X-API-Key

Query parameters

chainId'1' | '11155111' | '56' | '97' | '43114' | '43113' | '137' | '80002' | '25' | '338' | '42161' | '250' | '4002' | '10' | '11155420' | '8453' | '84532' | '324' | '300'

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

Example:1
chainSymbolstring

The abbreviated chain name for queries or transactions.

Example:ETH
addressstring required

The public address to get the balance of.

Example:0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402
vsCurrenciesstring

A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.

Example:usd,eur,gbp

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "balance": "462462170932810524189278",
    "prices": {
      "inr": [
        {
          "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "312980.5979501781"
        }
      ],
      "usd": [
        {
          "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "3621.388291112711"
        }
      ],
      "eur": [
        {
          "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": "3082.250487885014"
        }
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.