Smartlink
Search
⌃K

Get All Stored Transactions

const txs =await escrow.getTransactions();
As a response, you will get an array of objects with the following structure:
{
adId:string,
marketplaceId:string,
details:{
seller:string,
buyer:string,
tokenAddress:string,
amount:BigNumber,
feesAmount:BigNumber,
date:BigNumber;
lookupIndex:BigNumber;
status:number //{INITIALISED=0, CONFIRMED=1, CANCELED=2}
}
}