# getAAsByBaseAAs

Get Autonomous Agents that are based on some Autonomous Agent

### Spec

```typescript
getAAsByBaseAAs(baseAAs: string | string[]);
```

&#x20;\*baseAAs supports type string, but it's syntactic sugar, the response won't change



### Example

```javascript
await Client.getAAsByBaseAAs(['A336I77COVXUCN3L2YOYVIZF7PKMFCAV']);
```



### Response

```json
[
  {
    "address": "7VW3WKTRDRI7DE6345LEN23C3FDUOT7H",
    "definition": [
      "autonomous agent",
      {
        "base_aa": "A336I77COVXUCN3L2YOYVIZF7PKMFCAV",
        "params": {
          "reserve_asset": "base",
          "reserve_price_aa": "Z4OWP7ILJFZPSYAOBPLOH4HMIKB4POHX",
          "swap_fee": 0.003,
          "arb_profit_tax": 0.9,
          "stakers_fee_share": 0.5,
          "adjustment_period": 259200,
          "presale_period": 1209600,
          "auction_price_halving_period": 259200,
          "token_share_threshold": 0.1,
          "min_s0_share": 0.01,
          "max_drift_rate": 0.5
        }
      }
    ],
    "unit": "a5DfSF6NXQ1rR2C7JrBg3kXWjkc2mYBkiVTNmFFRcPg=",
    "creation_date": "2024-03-09 12:19:40"
  },
  {
    "address": "AJSEUQFO636XWO7LKBYPYTHENUVKATZL",
    "definition": [
      "autonomous agent",
      {
        "base_aa": "A336I77COVXUCN3L2YOYVIZF7PKMFCAV",
        "params": {
          "reserve_asset": "y6rgKvNV6CD1fa4PkfB28rSuje1l+DS70XWXBCzaSm4=",
          "reserve_price_aa": "S26T5DDPUABTCNPHBX4XXJE2AHAF7JF7",
          "swap_fee": 0.003,
          "arb_profit_tax": 0.9,
          "stakers_fee_share": 0.5,
          "adjustment_period": 259200,
          "presale_period": 1209600,
          "auction_price_halving_period": 259200,
          "token_share_threshold": 0.1,
          "min_s0_share": 0.01,
          "max_drift_rate": 0.5
        }
      }
    ],
    "unit": "2jNDl4ZrNmZHBoRAyOLMbr3oH1pVukPzb8fSOxZm/ak=",
    "creation_date": "2024-03-09 12:21:06"
  },
  {
    "address": "I4VSDD7YW5M3ZK2CRDAB4ZPVVROET6YC",
    "definition": [
      "autonomous agent",
      {
        "base_aa": "A336I77COVXUCN3L2YOYVIZF7PKMFCAV",
        "params": {
          "reserve_asset": "CFyYewuaNHb4jvCLxQKHk0+nKaY5tSJrN2ecjVm40uM=",
          "reserve_price_aa": "QQQ7NTRRU7NZOYWEADCIVYNEXMVJAKXG",
          "swap_fee": 0.003,
          "arb_profit_tax": 0.9,
          "stakers_fee_share": 0.5,
          "adjustment_period": 259200,
          "presale_period": 1209600,
          "auction_price_halving_period": 259200,
          "token_share_threshold": 0.1,
          "min_s0_share": 0.01,
          "max_drift_rate": 0.5
        }
      }
    ],
    "unit": "QuiU/ieq8f2SMNqZjEr7RD6t/Ah+zPRI8Ph9q6Xw/HM=",
    "creation_date": "2024-03-09 12:23:54"
  }
]
```

