# Domain

## FncyWallet

Shows the user's wallet information.

#### See Also

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

| Name          | Type   | Description             |
| ------------- | ------ | ----------------------- |
| wid           | Long   | Wallet ID               |
| chainId       | Int    | Chain ID                |
| walletAddress | String | Wallet Address          |
| walletNm      | String | Wallet Name             |
| secureLevel   | Int    | Wallet Securiy Level    |
| nftCount      | Int    | Number of NFTs Holding  |
| createKst     | Long   | Wallet Creation Time    |
| updateKst     | Long   | Last Wallet Update Time |

## FncyBalance

Shows the value of the total assets held in the wallet.

#### See Also

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

<table><thead><tr><th>Name</th><th width="247.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>wid</td><td>Long</td><td>Wallet ID</td></tr><tr><td>totalUsdPrice</td><td>String?</td><td>Asset Price USD</td></tr><tr><td>displayTotalUsdPrice</td><td>String?</td><td>Asset Price USD</td></tr><tr><td>totalKrwPrice</td><td>String?</td><td>Asset Price KRW</td></tr><tr><td>displayTotalKrwPrice</td><td>String?</td><td>Asset Price KRW</td></tr></tbody></table>

## FncyGasPrice

Shows the current gas price information for the network.

#### See Also

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

| Name                 | Type       | Description                                 |
| -------------------- | ---------- | ------------------------------------------- |
| fastGasPrice         | BigDecimal | Fast Transfer Speed, High Gas Price         |
| middleGasPrice       | BigDecimal | Moderate Transfer Speed, Moderate Gas Price |
| slowGasPrice         | BigDecimal | Slow Transfer Speed, Sow Gas Price          |
| baseFeePerGas        | BigDecimal | EIP-1559                                    |
| maxPriorityFeePerGas | BigDecimal | EIP-1559                                    |

## FncyQuestion

Shows question information for wallet restoration.

#### See Also

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

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

| Name        | Type   | Description      |
| ----------- | ------ | ---------------- |
| questionSeq | Int    | Question Seq     |
| questionEn  | String | Question English |
| questionKr  | String | Question Korean  |

## FncyChainInfo

Shows information about the blockchain.

#### See Also

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

| Name           | Type                                       | Description              |
| -------------- | ------------------------------------------ | ------------------------ |
| chainId        | Long                                       | Chain ID                 |
| chainNm        | String?                                    | Chain Name               |
| chainType      | String?                                    | Chain Type               |
| chainTypeDcd   | String?                                    | Chain Type Code          |
| testnetYn      | String?                                    | Testnet (Y/N)            |
| chainActiveYn  | String?                                    | Chain Active (Y/N)       |
| chainDesc      | String?                                    | Chain Description        |
| nativeCoinInfo | [FncyNaviveCoinInfo](#fncynativecoininfo)? | Chain's Coin Information |
| majorAssetInfo | [FncyMajorAssetInfo](#fncymajorassetinfo)? | Major Asset Information  |

## FncyMajorAssetInfo

| Name                | Type    | Description                  |
| ------------------- | ------- | ---------------------------- |
| majorAssetId        | Long    | Major Asset ID               |
| majorAssetSymbol    | String? | Major Asset Symbol           |
| majorAssetSymbolImg | String? | Major Asset Symbol Image URL |
| contractAddress     | String? | Contract Address             |

## FncyNativeCoinInfo

Shows information about the asset (coin) used to pay for the network's services.

#### See Also

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

[FncyChainInfo](#fncychaininfo)

| Name                | Type    | Description                                |
| ------------------- | ------- | ------------------------------------------ |
| nativeCoinId        | Long    | Coin ID                                    |
| nativeCoinSymbol    | String? | Coin Symbol String                         |
| nativeCoinSymbolImg | String? | Coin Symbol Image URL                      |
| nativeCoinDecimal   | Long    | Asset's Maximum Length of Decimals Allowed |

## FncyAsset

Data showing information about the assets held in the wallet.

Provides the wallet's balance (balance), asset information (assetInfo), and price information (prices) for the balance held.

#### See Also

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

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

| Name               | Type                             | Description                    |
| ------------------ | -------------------------------- | ------------------------------ |
| assetId            | Long                             | Wallet ID                      |
| chainId            | Long                             | Chain ID                       |
| balance            | BigDecimal?                      | Asset Quantity (in wei)        |
| balancePlainString | String?                          | Asset Quantity (in wei) String |
| displayBalance     | String?                          | Asset quantity (in ETH) String |
| assetInfo          | [FncyAssetInfo](#fncyassetinfo)? | Asset Information              |
| prices             | [FncyPrice](#fncyprice)?         | Asset Price information        |

## FncyAssetInfo

Data that shows asset information.

#### See Also

[FncyAsset](#fncyasset)

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

| Name            | Type    | Description                                |
| --------------- | ------- | ------------------------------------------ |
| chainId         | Long    | Chain ID                                   |
| chainNm         | String? | Chain Name                                 |
| assetId         | Long    | Asset ID                                   |
| assetNm         | String? | Asset Name                                 |
| assetSymbol     | String? | Asset Symbol String                        |
| assetSymbolImg  | String? | Asset Symbol Image Link                    |
| assetType       | String  | Asset Type                                 |
| assetTypeDcd    | String? | Asset Type Code                            |
| contractAddress | String? | Contract Address                           |
| assetDecimal    | Long    | Asset's Maximum Length of Decimals Allowed |

## FncyPrice

Shows the value of an asset based on the currency (BTC, ETH, USD, KRW).

#### See Also

[FncyAsset](#fncyasset)

| Name            | Type        | Description      |
| --------------- | ----------- | ---------------- |
| btcPrice        | BigDecimal? | BTC Price        |
| displayBtcPrice | String?     | BTC Price String |
| ethPrice        | BigDecimal? | ETH Price        |
| displayEthPrice | String?     | ETH Price String |
| usdPrice        | BigDecimal? | USD Price        |
| displayUsdPrice | String?     | USD Price String |
| krwPrice        | BigDecimal? | KRW Price        |
| displayKrwPrice | String?     | KRW Price String |

## FncyCurrency

Shows the asset information and price information of $FNCY Coin.

#### See Also

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

| Name                  | Type    | Description                      |
| --------------------- | ------- | -------------------------------- |
| assetId               | Long    | Asset Id                         |
| symbol                | String? | Asset Symbol                     |
| btcPrice              | String? | Price(BTC)                       |
| displayBtcPrice       | String? | Price for Display Output(BTC)    |
| ethPrice              | String? | Price(ETH)                       |
| displayEthPrice       | String? | Price for Display Output(ETH)    |
| usdPrice              | String? | Price(USD)                       |
| displayUsdPrice       | String? | Price for Display Output(USD)    |
| krwPrice              | String? | Price(KRW)                       |
| displayKrwPrice       | String? | Price for Display Output(KRW)    |
| dailyHigherUsd        | String? | Daily High(USD)                  |
| displayDailyHigherUsd | String? | Daily High Display Output(USD)   |
| dailyHigherKrw        | String? | Daily High(KRW)                  |
| displayDailyHigherKrw | String? | Daily High Display Output(KRW)   |
| dailyLowerUsd         | String? | Daily Low(USD)                   |
| displayDailyLowerUsd  | String? | Daily Low Display Output(USD)    |
| dailyLowerKrw         | String? | Daily Low(KRW)                   |
| displayDailyLowerKrw  | String? | Daily Low Display Output(KRW)    |
| dailyVolumeUsd        | String? | Daily Volume(USD)                |
| displayDailyVolumeUsd | String? | Daily Volume Display Output(USD) |
| dailyVolumeKrw        | String? | Daily Volume(KRW)                |
| displayDailyVolumeKrw | String? | Daily Volume Display Output(KRW) |
| hourChange            | String? | Hourly Change                    |
| dayChange             | String? | Daily Change                     |
| projectLink           | String? | Project Link                     |
| whitePaperLink        | String? | White Paper Link                 |

## FncyNFT

Shows information about the NFTs holding.

#### See Also

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

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

| Name       | Type                         | Description      |
| ---------- | ---------------------------- | ---------------- |
| nftId      | Long                         | NFT ID           |
| wid        | Long                         | Holder Wallet ID |
| ownerOf    | String?                      | NFT Status       |
| ownerOfDcd | String?                      | NFT Status Code  |
| nftInfo    | [FncyNFTInfo](#fncynftinfo)? | NFT Information  |

## FncyNFTInfo

Shows the properties and details of the NFT.

#### See Also

[FncyNFT](#fncynft)

| Name                    | Type                                         | Description                 |
| ----------------------- | -------------------------------------------- | --------------------------- |
| chainId                 | Long                                         | Chain ID                    |
| assetTypeDcd            | String?                                      | Asset Type Code             |
| assetType               | String?                                      | Asset Type                  |
| nftTypeDcd              | String?                                      | NFT Type Code               |
| nftType                 | String?                                      | NFT Type                    |
| contractAddess          | String?                                      | NFT Contract Address        |
| tokenId                 | String?                                      | Toke ID                     |
| nftNm                   | String?                                      | NFT Name                    |
| nftSymbol               | String?                                      | NFT Symbol String           |
| nftSymbolImg            | String?                                      | NFT Symbol Image URL        |
| nftMetaUri              | String?                                      | NFT Meta Uri                |
| nftMediaUri             | String?                                      | NFT Media Uri               |
| nftAnimationUrl         | String?                                      | NFT Playable Media Link     |
| holderAuthYn            | String?                                      | Holder Verifiable (Y/N)     |
| nftHolderAuthDirectLink | String?                                      | NFT Marketplace Link        |
| attribute               | List<[FncyNFTAttribute](#fncynftattribute)>? | List of NFT Property Values |
| nftMetaJson             | String?                                      | NFT Metadata Json           |
| nftDesc                 | String?                                      | NFT Description             |

## FncyNFTAttribute

| Name       | Type       | Description                         |
| ---------- | ---------- | ----------------------------------- |
| attrSeq    | Long       | Attribute Seq                       |
| nftSeq     | Long?      | Corresponding NFT Seq               |
| trait      | String?    | Key Value of Corresponding Property |
| traitValue | String?    | Value of the Corresponding Property |
| rarity     | BigDecimal | Rarity                              |
| order      | Long?      | Attribute Order                     |
| createDt   | Long?      | Attribute Created Time              |
| updateUts  | Long?      | Attribute Last Modified Time        |

## FncyTicket

Shows ticket information for sending a transaction.

#### See Also

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

<table><thead><tr><th>Name</th><th width="249.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>wid</td><td>Long</td><td>Chain ID</td></tr><tr><td>signatureType</td><td><a href="../../ios/etc#tickettype">TicketType</a>?</td><td>Transfer Type</td></tr><tr><td>transferFrom</td><td>String?</td><td>Asset Send From Address</td></tr><tr><td>transferTo</td><td>String?</td><td>Asset Send To Address</td></tr><tr><td>transferVal</td><td>BigInteger</td><td>Amount of Assets Transfer</td></tr><tr><td>txNonce</td><td>Long</td><td>Transaction Nonce</td></tr><tr><td>txGasPrice</td><td>BigInteger?</td><td>gas price(in wei)</td></tr><tr><td>txGasLimit</td><td>BigInteger?</td><td>gas limit(in wei)</td></tr><tr><td>txInput</td><td>String?</td><td>When Smart Contract Execution, Required</td></tr><tr><td>contractAddress</td><td>String?</td><td>Contract Address</td></tr><tr><td>chainId</td><td>Long</td><td>Chain ID (Default Value 0)</td></tr><tr><td>assetId</td><td>Long</td><td>Asset ID (Default Value 0)</td></tr><tr><td>nftId</td><td>Long</td><td>NFT ID (Default Value 0)</td></tr><tr><td>tokenId</td><td>Long</td><td>Token ID (Default Value 0)</td></tr><tr><td>maxPriorityPerGas</td><td>BigInteger?</td><td>EIP-1559</td></tr><tr><td>maxFeePerGas</td><td>BigInteger?</td><td>EIP-1559</td></tr></tbody></table>

## FncyTransaction

Shows the details of transactions sent to the network.

#### See Also

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

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

<table><thead><tr><th>Name</th><th width="170.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>chainId</td><td>Long</td><td>Chain ID</td></tr><tr><td>wid</td><td>Long</td><td>Wallet ID</td></tr><tr><td>historySeq</td><td>Long</td><td>History Seq</td></tr><tr><td>walletAddress</td><td>String</td><td>Wallet Address</td></tr><tr><td>txId</td><td>String</td><td>Transaction ID on Blockchain</td></tr><tr><td>txNonce</td><td>Long</td><td>Transaction Nonce</td></tr><tr><td>txVal</td><td>String?</td><td>txVal</td></tr><tr><td>txFee</td><td>String?</td><td>Gas used for Transfer (wei)</td></tr><tr><td>displayTxFee</td><td>String?</td><td>Gas used for Transfer (ETH)</td></tr><tr><td>txAnnotation</td><td>String?</td><td>txAnnotation</td></tr><tr><td>transferFrom</td><td>String?</td><td>Send From Address</td></tr><tr><td>transferTo</td><td>String?</td><td>Send To Address</td></tr><tr><td>transferVal</td><td>String?</td><td>Size of the Transferring Asset(wei)</td></tr><tr><td>displayTransferVal</td><td>String?</td><td>Size of the Transferring Asset(ETH)</td></tr><tr><td>assetInfo</td><td><a href="#fncyassetinfo">FncyAssetInfo</a></td><td>Asset Information</td></tr><tr><td>transferMethod</td><td>String?</td><td>TranferMethod </td></tr><tr><td>txSt</td><td>String?</td><td>Transaction Status</td></tr><tr><td>txStDcd</td><td>String?</td><td>Transaction Status Code</td></tr><tr><td>inOut</td><td>String?</td><td>Deposit/Withdrawal Category</td></tr><tr><td>inOutDcd</td><td>String?</td><td>Deposit/Withdrawal Code</td></tr><tr><td>blockTimestamp</td><td>Long?</td><td>Creation Time of Block Containing History</td></tr><tr><td>historyUts</td><td>Long?</td><td>Last Data change Time</td></tr></tbody></table>

## FncyTicketResult

Shows the information in a ticket that is ready to be sent to the blockchain network.

#### See Also

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

| Name       | Type   | Description           |
| ---------- | ------ | --------------------- |
| ticketUuid | String | Created Ticket's uuid |
| ticketHash | String | Unsigned txHash       |

##
