Get history

Get the history of one or multiple addresses.

Example

const params = {
witnesses: witnesses,
addresses: ['ULQA63NGEZACP4N7ZMBUBISH6ZTCUS2Q']
};
client.api.getHistory(params, function(err, result) {
console.log(result);
});

Returns

{
unstable_mc_joints: [
{
unit: [Object]
},
{
unit: [Object]
},
...
],
witness_change_and_definition_joints: [
{
unit: [Object],
ball: 'CxK1luSnAk5+MaGyaE9wl26JdwAkSPFDqWJdYs9gRng='
}
],
joints: [
{
unit: [Object],
ball: 'HCEsVPYN9g7tGOVWlixTlA7Cg4fXsd1VDQSgUzHZljI='
},
{
unit: [Object],
ball: '7Zk9IQja19XZyJY0MPZZxAhIjV5Uydr+zUvoQXvGBKs='
},
...
],
proofchain_balls: [
{
unit: 'rVuepU0c43PKbqM2BgnpOLaBCGdaxG0w6WBpSjaCHgA=',
ball: 'zTN1OJcGfibm2hxitGnQRx0HSzhfhycFIXsaL7gnUNY=',
parent_balls: [Array]
},
{
unit: 'Mn8nOpIQvhQvPjlnDBbtYwUbRolrt40Igr8txWch0s0=',
ball: 'Ocgs5zd0mWeqWNm/+gT0wqpfnd9+mj5BaaABndamw0E=',
parent_balls: [Array]
},
...
]
}