Get AAs by base AAs
Get Autonomous Agents that are based on some Autonomous Agent.

Example

1
const params = {
2
base_aa: 'QFM5ECICVHZKRVTW3EMVTUSYJ6P2WLDY'
3
};
4
5
const params_multi = {
6
base_aas: ['QFM5ECICVHZKRVTW3EMVTUSYJ6P2WLDY']
7
};
8
9
client.api.getAasByBaseAas(params, function(err, result) {
10
if (err) return console.error(err);
11
console.log(result);
12
});
Copied!

Returns

1
[
2
{
3
address: 'VUSZEABYYJDLCQ2SLWERIV2WXUNPMF3I',
4
definition: [
5
'autonomous agent',
6
{
7
base_aa: 'QFM5ECICVHZKRVTW3EMVTUSYJ6P2WLDY',
8
params": {
9
asset: 'vTSkFkoxAtS7mnq03rd8MjNV4EC6RIIfvxPbnER9O4w='
10
}
11
}
12
]
13
},
14
{
15
address: 'LMDG6R64KCLDVMEJPJEG3FOJ2TJGFEHM',
16
definition: [
17
'autonomous agent',
18
{
19
base_aa: 'QFM5ECICVHZKRVTW3EMVTUSYJ6P2WLDY',
20
params: {
21
asset: 'w91kcLlYaAHC+1lK19y+cvF0AUCKmU3+DWz+9cEKto4='
22
}
23
}
24
]
25
}
26
]
Copied!

Learn more

Last modified 2mo ago
Copy link