> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orbitflare.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getSignaturesForAsset

> OrbitFlare üzerinde DAS getSignaturesForAsset ile bir Solana sıkıştırılmış NFT'sini mint eden, transfer eden, yakan veya güncelleyen işlemleri listeleyin.

## Genel Bakış

Sıkıştırılmış bir NFT'nin kendine ait bir hesabı yoktur; bu nedenle `getSignaturesForAddress` geçmişini gösteremez. `getSignaturesForAsset`, varlığı değiştiren Bubblegum işlemlerini her birinin `MintToCollectionV1`, `Transfer` veya `Burn` gibi talimat türüyle birlikte döndürür.

Bu yöntem `getAssetSignatures` adıyla da kullanılabilir.

## Parametreler

Varlığı `id` ile ya da `tree` ve `leafIndex` ile birlikte belirtin.

<ResponseField name="id" type="string">
  Sıkıştırılmış varlık kimliği (base-58).
</ResponseField>

<ResponseField name="tree" type="string">
  Merkle ağacı adresi (base-58). `leafIndex` ile birlikte kullanın.
</ResponseField>

<ResponseField name="leafIndex" type="number">
  Ağaçtaki yaprak indeksi. `tree` ile birlikte kullanın.
</ResponseField>

<ResponseField name="page" type="number">
  1'den başlayan sayfa numarası. Bkz. [Sayfalama](/tr/das-api/pagination).
</ResponseField>

<ResponseField name="limit" type="number">
  Sayfa başına sonuç sayısı. Maksimum ve varsayılan değer 1.000.
</ResponseField>

<ResponseField name="sortDirection" type="string">
  `asc` veya `desc`.
</ResponseField>

## Yanıt

<ResponseField name="result" type="object">
  <Expandable title="result alanları">
    <ResponseField name="total" type="number">
      Bu sayfadaki öğe sayısı.
    </ResponseField>

    <ResponseField name="limit" type="number">
      Kullanılan sayfa boyutu.
    </ResponseField>

    <ResponseField name="page" type="number">
      Sayfa numarasıyla sayfalama yapılırken sayfa numarası.
    </ResponseField>

    <ResponseField name="items" type="array">
      `[signature, instruction type]` çiftleri.
    </ResponseField>
  </Expandable>
</ResponseField>

## Kod Örnekleri

### İstek

```bash theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl https://fra.rpc.orbitflare.com?api_key=YOUR-API-KEY -X POST -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getSignaturesForAsset",
  "params": {
    "id": "JEKNNLZK6uQaQUEUz9GRoYZ7buHQ4rTN6k3qhX9NG8qU",
    "page": 1,
    "limit": 100
  }
}'
```

### Yanıt

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
{
  "jsonrpc": "2.0",
  "result": {
    "last_indexed_slot": 457714577,
    "total": 1,
    "limit": 100,
    "page": 1,
    "items": [
      [
        "3eUm7YYq71vcZdgYT3X51xrJeNKaUg5fFfCFaBS2fwP3BPvip2hYxaAaqfNDs3Pj53JPDriQauBtWbz4u7cFN2dw",
        "MintToCollectionV1"
      ]
    ]
  },
  "id": 1
}
```

### TypeScript

```typescript theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
const RPC_URL = 'https://fra.rpc.orbitflare.com?api_key=YOUR-API-KEY';

async function getAssetHistory(id: string) {
  const response = await fetch(RPC_URL, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      jsonrpc: '2.0',
      id: 1,
      method: 'getSignaturesForAsset',
      params: { id, page: 1, limit: 1000 },
    }),
  });
  const { result, error } = await response.json();
  if (error) throw new Error(error.message);

  return result.items.map(([signature, type]: [string, string]) => ({ signature, type }));
}
```

## Yaygın Hatalar

| Kod | Mesaj | Çözüm |
| - | - | - |
| -32602 | Must provide either 'id' or both 'tree' and 'leafIndex' | Tek başına `id` ya da `tree` ve `leafIndex` birlikte gönderin |
| -32602 | Pubkey Validation Err: ... is invalid | Geçerli bir base-58 varlık kimliği veya ağaç adresi iletin |
| -32602 | Pagination Error. Limit should not be greater than 1000. | 1.000 veya daha küçük bir `limit` kullanın |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.