Get AA response chain

Example

1
const params = {
2
trigger_unit: 'QjJsukONZ57VBVtLk/0ak1jMYNW0vw7q0So95KBJH2k='
3
};
4
5
client.api.getAaResponseChain(params, function(err, result) {
6
if (err) return console.error(err);
7
console.log(result);
8
});
Copied!

Returns

1
[
2
{
3
mci: 5570689,
4
trigger_address: "ULQA63NGEZACP4N7ZMBUBISH6ZTCUS2Q",
5
aa_address: "NINAQ4KWRURQDX3O7G3KE6IFJKIA4Q25",
6
trigger_unit: "QjJsukONZ57VBVtLk/0ak1jMYNW0vw7q0So95KBJH2k=",
7
bounced: 0,
8
response_unit: "H1RSMS/7sBM77rYNiN1rWtbVJthg5BTRIf6ode9vaiE=",
9
response: {
10
responseVars: {
11
type: "swap",
12
asset1_amount: 6149564711
13
}
14
},
15
timestamp: 1595783576,
16
objResponseUnit: {Object}
17
}
18
]
Copied!

Learn more

Last modified 2mo ago
Copy link