# getWalletTransactions

**Identifier:** `zerion_getWalletTransactions`

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

Get the transactions for a given Ethereum wallet address

## Run it with the CLI

```bash
kirha tools run zerion_getWalletTransactions \
  --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_getWalletTransactions",
  "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": {
    "assetType": {
      "enum": [
        "fungible",
        "nft"
      ],
      "type": "string"
    },
    "currency": {
      "default": "usd",
      "enum": [
        "eth",
        "btc",
        "usd",
        "eur",
        "cny",
        "chf"
      ],
      "type": "string"
    },
    "dateFrom": {
      "description": "Date from which to get the transactions, format: YYYY-MM-DD:HH:MM:SS",
      "type": "string"
    },
    "dateTo": {
      "description": "Date to which to get the transactions, format: YYYY-MM-DD:HH:MM:SS",
      "type": "string"
    },
    "ethereumAddress": {
      "type": "string"
    },
    "limit": {
      "default": 5,
      "maximum": 50,
      "minimum": 1,
      "type": "number"
    },
    "operationType": {
      "items": {
        "enum": [
          "send",
          "receive",
          "trade",
          "deposit",
          "withdraw",
          "approve",
          "execute",
          "deploy",
          "mint",
          "burn",
          "revoke"
        ],
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "ethereumAddress"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "dateFromFilter": {
      "type": "string"
    },
    "dateToFilter": {
      "type": "string"
    },
    "ethereumAddress": {
      "type": "string"
    },
    "transactions": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "blockNumber": {
            "type": "number"
          },
          "minedAt": {
            "description": "ISO datetime format",
            "type": "string"
          },
          "operationType": {
            "enum": [
              "send",
              "receive",
              "trade",
              "deposit",
              "withdraw",
              "approve",
              "execute",
              "deploy",
              "mint",
              "burn",
              "revoke"
            ],
            "type": "string"
          },
          "receiver": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "transactionHash": {
            "type": "string"
          }
        },
        "required": [
          "operationType",
          "transactionHash",
          "blockNumber",
          "minedAt",
          "sender",
          "receiver",
          "status"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "ethereumAddress",
    "currency",
    "transactions"
  ],
  "type": "object"
}
```

-----

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