# findData

```javascript
const result = await Transaction.findData(<Address:Base58>,<key:string>,<skip:integer>,<limit:integer>)

```

**Address:**  Get data from saved to this Pirichain wallet address before.

**Key:** Get data by key property&#x20;

**Skip :** Skip Relevant data records

**Limit:** Set limitation of records

**Sample :**

{% code overflow="wrap" %}

```javascript
const result=await Transaction.findData('PRTMQbunYS1CxSs5i59CrR4ot2WUThT9JvsKvLYDfwF','ratio',0,100);
```

{% endcode %}

System will get **data array** which include "ratio" key which stored same transaction. As we see that below response, system returned 4 different transaction that have **ratio** **key**.

**Response:**

```json
[
    {"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
]
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://smartscenarios.pirichain.com/psce-functions/finddata.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
