# Solana Transaction History

## GET /solana/{address}/vaults/{slug}/transaction-history

> Get Solana user transaction history for a specific vault. Returns deposits (mints) and withdrawals (redeems) for the given wallet and vault.

```json
{"openapi":"3.0.0","info":{"title":"Nest API","version":"1.0.0"},"servers":[{"url":"https://api.nest.credit/v1","description":"Nest API Server"}],"paths":{"/solana/{address}/vaults/{slug}/transaction-history":{"get":{"tags":["Solana Transaction History"],"description":"Get Solana user transaction history for a specific vault. Returns deposits (mints) and withdrawals (redeems) for the given wallet and vault.","parameters":[{"schema":{"type":"string","description":"Solana wallet address (base58)"},"required":true,"description":"Solana wallet address (base58)","name":"address","in":"path"},{"schema":{"type":"string","description":"Vault slug"},"required":true,"description":"Vault slug","name":"slug","in":"path"},{"schema":{"type":"number","nullable":true,"description":"Start date filter (epoch seconds)"},"required":false,"description":"Start date filter (epoch seconds)","name":"startDate","in":"query"},{"schema":{"type":"number","nullable":true,"description":"End date filter (epoch seconds)"},"required":false,"description":"End date filter (epoch seconds)","name":"endDate","in":"query"},{"schema":{"type":"number","minimum":1,"maximum":200,"default":50,"description":"Maximum number of transactions to return"},"required":false,"description":"Maximum number of transactions to return","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor returned from a previous request"},"required":false,"description":"Cursor returned from a previous request","name":"cursor","in":"query"}],"responses":{"200":{"description":"Solana user transaction history","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"transactionHash":{"type":"string","description":"Solana transaction signature (base58)"},"transactionType":{"type":"string","enum":["DEPOSIT","WITHDRAW_FULFILLED"]},"vaultAddress":{"type":"string","description":"OFT store address on Solana (may be empty)"},"user":{"type":"string","description":"Solana wallet address (base58)"},"createdAt":{"type":"number","description":"Transaction timestamp in epoch seconds"},"shares":{"type":"number","description":"Share amount in token units"},"sharesTokenAddress":{"type":"string","description":"Solana share token mint address (base58)"},"assets":{"type":"number","nullable":true,"description":"Asset amount in token units (USDC)"},"assetsTokenAddress":{"type":"string","description":"Solana USDC mint address"},"chainId":{"type":"number","description":"Chain ID (Solana placeholder)"}},"required":["transactionHash","transactionType","vaultAddress","user","createdAt","shares","sharesTokenAddress","assets","assetsTokenAddress","chainId"]}},"pageInfo":{"type":"object","properties":{"endCursor":{"type":"string","nullable":true,"description":"Cursor to fetch the next page of results"},"hasNextPage":{"type":"boolean","description":"Whether another page of results is available"}},"required":["endCursor","hasNextPage"]}},"required":["items","pageInfo"]}},"required":["data"]}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Vault not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}}}}
```


---

# 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://docs.nest.credit/developers/api/solana-transaction-history.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.
