# Transaction Search

## Requesting Transaction List

Request the past transaction history of my wallet.

```swift
let array: [FncyTransaction] = try await fncyWallet.getTransferHistoryList(
wid: 10000, //wallet ID
assetId: 6, //Asset ID to Search (Optional)
pageNo: 1, //Page Number. default: 1 (Optional)
pageSize: 6, //Page Size. default: 6 (Optional)
filter: InOutDcd.all //Filter (Optional)
)
```

#### Filter

* InOutDcd.all = All&#x20;
* InOutDcd.deposit = Deposit
* InOutDcd.withdrawal = Withdraw

#### See Also

[getTransferHistoryList](https://docs.fncy.world/fncy-2.0.2-eng/for-developers/wallet/sdk/methods#func-gettransferhistorylist)

[FncyTransaction](https://docs.fncy.world/fncy-2.0.2-eng/for-developers/wallet/sdk/domain#fncytransaction)

[InOutDcd](https://docs.fncy.world/fncy-2.0.2-eng/for-developers/wallet/sdk/etc#inoutdcd)

## Single Transaction Search

ou can search a single transaction by passing the transaction's history number (historySeq).

```swift
let transaction: FncyTransaction = try await fncyWallet.getTransferHistoryDetail(
wid: 10000, //wallet wid
historySeq: 10000 //FncyTransaion의 historySeq
)
```

#### See Also

[getTransferHistoryDetail](https://docs.fncy.world/fncy-2.0.2-eng/for-developers/wallet/sdk/methods#func-gettransferhistorydetail)

[FncyTransaction](https://docs.fncy.world/fncy-2.0.2-eng/for-developers/wallet/sdk/domain#fncytransaction)
