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

Example

const params = {
base_aa: 'QFM5ECICVHZKRVTW3EMVTUSYJ6P2WLDY'
};
const params_multi = {
base_aas: ['QFM5ECICVHZKRVTW3EMVTUSYJ6P2WLDY']
};
client.api.getAasByBaseAas(params, function(err, result) {
if (err) return console.error(err);
console.log(result);
});

Returns

[
{
address: 'VUSZEABYYJDLCQ2SLWERIV2WXUNPMF3I',
definition: [
'autonomous agent',
{
base_aa: 'QFM5ECICVHZKRVTW3EMVTUSYJ6P2WLDY',
params": {
asset: 'vTSkFkoxAtS7mnq03rd8MjNV4EC6RIIfvxPbnER9O4w='
}
}
]
},
{
address: 'LMDG6R64KCLDVMEJPJEG3FOJ2TJGFEHM',
definition: [
'autonomous agent',
{
base_aa: 'QFM5ECICVHZKRVTW3EMVTUSYJ6P2WLDY',
params: {
asset: 'w91kcLlYaAHC+1lK19y+cvF0AUCKmU3+DWz+9cEKto4='
}
}
]
}
]

Learn more

Copy link
On this page
Example
Returns
Learn more