# Wallet Search

## Search Wallet

Gets the user's wallet information.

Guide for creating a wallet is described in [Create/Restore Wallet](https://docs.fncy.world/fncy-2.0.2-eng/for-developers/wallet/sdk/ios/usage/wallet-create-restore).

```swift
let wallet: FncyWallet = try await fncyWallet.getWallet()
```

#### See Also&#x20;

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

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

## Search Value of Assets in Wallet

Gets the total asset value (USD, KRW) of the user's wallet.

```swift
let balance: FncyBalance = try await fncyWallet.getWalletAllBalance(
wid: wid //Wallet ID from getWallet()
)
```

#### See Also

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

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

## Search Asset

### Search List of Assets

Gets a list of assets you own.

```swift
let assets: [FncyAsset] = try await fncyWallet.getAssetList(
wid: wid //Wallet ID from getWallet()
)
```

#### See Also

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

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

### Search a Single Asset

If you know the ID of an asset you own, you can search its information.

```swift
let asset: FncyAsset = try await fncyWallet.getAssetById(
wid: wid, //Wallet ID from getWallet()
assetId: assetID //Asset ID from getAssetList()
)
```

#### See Also&#x20;

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

[FncyAsset](https://docs.fncy.world/fncy-2.0.2-eng/for-developers/wallet/sdk/domain#fncyasset)&#x20;

## NFT

### Search NFT List

Gets a list of NFTs you own.

```swift
let nfts: [FncyNFT] = try await fncyWallet.getNFTList(
wid: wid //Wallet ID from getWallet()
)
```

#### See Also

[getNFTList](https://docs.fncy.world/fncy-2.0.2-eng/for-developers/wallet/sdk/methods#func-getnftlist)&#x20;

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

### Search a Single NFT

If you know the ID of an NFT you own, you search that its information.

```swift
let nft: FncyNFT = try await fncyWallet.getNFTById(
wid: wid, //Wallet ID from getWallet()
nftId:NFTID //NFT ID from getAssetList
)
```

#### See Also

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

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