Wallet Search

This document describes how to search wallet information.

Search Wallet

Gets the user's wallet information.

Guide for creating a wallet is described in Create/Restore Wallet.

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

See Also

getWallet

FncyWallet

Search Value of Assets in Wallet

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

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

See Also

getWalletAllBalance

FncyBalance

Search Asset

Search List of Assets

Gets a list of assets you own.

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

See Also

getAssetList

FncyAsset

Search a Single Asset

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

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

See Also

getAssetById

FncyAsset

NFT

Search NFT List

Gets a list of NFTs you own.

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

See Also

getNFTList

FncyNFT

Search a Single NFT

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

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

See Also

getNFTById

FncyNFT

Last updated