πfindData
You can use this command to find data which has been saved block network.
const result = await Transaction.findData(<Address:Base58>,<key:string>,<skip:integer>,<limit:integer>)
const result=await Transaction.findData('PRTMQbunYS1CxSs5i59CrR4ot2WUThT9JvsKvLYDfwF','ratio',0,100);[
{"addedAssetID":"10007","addedLiq":"100","expireDate":"2024-01-20T10:49:58.396Z","ratio":"1.2"},
// tx1
{"addedLiq":"10","expireDate":"2024-01 15T22:35:54.143Z","addedAssetID":"10007","ratio":"1.112"},
//tx2
{"addedAssetID":"10007","expireDate":"2024-01-14T12:24:24.492Z","ratio":"1.112","addedLiq":"19"},
//tx3
{"addedAssetID":"10007","expireDate":"2024-01-14T12:24:24.040Z","addedLiq":"19","ratio":"1.112"}
//tx4
]Last updated