# getEthereumWalletPortfolio

**Identifier:** `zerion_getEthereumWalletPortfolio`

**Provider:** [Zerion](https://kirha.com/providers/zerion.md)

Get the portfolio information for a given Ethereum wallet address: aggregate values only, no per-token quantities (use listEthereumWalletPositions for those). Also works for exchange and contract addresses.

## Run it with the CLI

```bash
kirha tools run zerion_getEthereumWalletPortfolio \
  --input '{
    "ethereumAddress": "<ethereumAddress>"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "zerion_getEthereumWalletPortfolio",
  "input": {
    "ethereumAddress": "<ethereumAddress>"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "currency": {
      "default": "usd",
      "enum": [
        "eth",
        "btc",
        "usd",
        "eur",
        "cny",
        "chf"
      ],
      "type": "string"
    },
    "ethereumAddress": {
      "type": "string"
    }
  },
  "required": [
    "ethereumAddress"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "amountDistributionByChainName": {
      "additionalProperties": {
        "type": "number"
      },
      "propertyNames": {
        "type": "string"
      },
      "type": "object"
    },
    "borrowedAmount": {
      "type": "number"
    },
    "context": {
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "dailyAbsoluteChangePercentage": {
      "type": "number"
    },
    "dailyAbsoluteChangeValue": {
      "type": "number"
    },
    "depositedAmount": {
      "type": "number"
    },
    "ethereumAddress": {
      "type": "string"
    },
    "lockedAmount": {
      "type": "number"
    },
    "stakedAmount": {
      "type": "number"
    },
    "totalValueOfAllPositions": {
      "type": "number"
    },
    "walletAmount": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "ethereumAddress",
    "walletAmount",
    "depositedAmount",
    "borrowedAmount",
    "lockedAmount",
    "stakedAmount",
    "totalValueOfAllPositions",
    "amountDistributionByChainName",
    "dailyAbsoluteChangeValue",
    "dailyAbsoluteChangePercentage",
    "currency"
  ],
  "type": "object"
}
```

## Related tools

Other Zerion tools that this tool refers to, or that refer to it.

- [`getEthereumWalletBalanceChart`](https://kirha.com/providers/zerion/getEthereumWalletBalanceChart.md)
- [`listEthereumWalletPositions`](https://kirha.com/providers/zerion/listEthereumWalletPositions.md)

-----

[All Zerion tools](https://kirha.com/providers/zerion.md) · [< Back to tools list](https://kirha.com/tools.md)