Get AA response chain

Example

const params = {
  trigger_unit: 'QjJsukONZ57VBVtLk/0ak1jMYNW0vw7q0So95KBJH2k='
};

client.api.getAaResponseChain(params, function(err, result) {
  if (err) return console.error(err);
  console.log(result);
});

Returns

[
  {
    mci: 5570689,
    trigger_address: "ULQA63NGEZACP4N7ZMBUBISH6ZTCUS2Q",
    aa_address: "NINAQ4KWRURQDX3O7G3KE6IFJKIA4Q25",
    trigger_unit: "QjJsukONZ57VBVtLk/0ak1jMYNW0vw7q0So95KBJH2k=",
    bounced: 0,
    response_unit: "H1RSMS/7sBM77rYNiN1rWtbVJthg5BTRIf6ode9vaiE=",
    response: {
      responseVars: {
        type: "swap",
        asset1_amount: 6149564711
      }
    },
    timestamp: 1595783576,
    objResponseUnit: {Object}
  }
]

Learn more

Last updated