> For the complete documentation index, see [llms.txt](https://pepympus.gitbook.io/pepympus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pepympus.gitbook.io/pepympus.com/methods/getfirstsignatures.md). Agents can also search and read this documentation through its [MCP server](https://pepympus.gitbook.io/pepympus.com/~gitbook/mcp).

# getFirstSignatures

The `getFirstSignatures` method retrieves transaction signatures for a specified address, parsing transactions in reverse order (from the latest to the earliest). You can specify the number of transactions to parse using the `quantity` parameter.

```arduino
POST https://pepympus.com/api/v1/getFirstSignatures
```

**Request Body**

The request body should be in JSON format and include the following parameter:

| Parameter  | Type      | Description                                                                                      |
| ---------- | --------- | ------------------------------------------------------------------------------------------------ |
| `address`  | `string`  | The public address for which to retrieve signatures.                                             |
| `quantity` | `integer` | The number of transactions to parse. If not specified, all available transactions are retrieved. |

**Example Request Body**

```json
{
  "address": "4vxaVEX7Tekihp5N4BENJGGraqzRLXD7Egadcy2Z3VLX",
  "quantity": 2
}
```

### **Example Response**

```json
{
  "status": "success",
  "data": {
    "signatures": [
      "ws483nLcXbqmDc5wubBtwVWGG2DAwHWhTggLEuE5N4utVjiU7CfPrEYXrG65sVps1ztVR3wZRiAzx43Km4hEMHm",
      "2CZwj1fzQBQAqQC7ZEW6tnkgGAtACT22tFgzur8XEf2JtmnsgryK8N2zeJMFfjb11h74cY1pcghepAArva8FdVVT"
    ]
  }
}
```

{% hint style="info" %}
Unfortunately, this page is currently under development and will be updated as new information becomes available. You may notice some discrepancies with the actual development stage. If you encounter any issues, please don’t hesitate to contant us.
{% endhint %}
