# Transaction Search

## Requesting Transaction List

Request the past transaction history of my wallet.

```kotlin
val transactionList = fncyWallet.getTransferHistoryList(
    wid = 10000L, //Wallet ID
    assetId = 6L, //Searching Asset ID (Optional)
    pageNo = 1, //Page Number. default: 1 (Optional)
    pageSize = 6, //Page Size. default: 1 (Optional)
    filter = InOut.All //Filter (Optional)
)
```

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

* InOut.all = All
* InOut.deposit = Deposit
* InOut.withdrawal = Withdraw

#### See Also

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

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

## Single Transaction Search

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

```kotlin
val transaction = fncyWallet.getTransferHistoryDetail(
    wid = 10000L, //Wallet wid
    historySeq = 10000L //FncyTransaion's historySeq
)
```

#### See Also

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

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