# Domain

## FncyWallet

사용자의 지갑 정보를 표현합니다.

#### See Also

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

| Name          | Type   | Description    |
| ------------- | ------ | -------------- |
| wid           | Long   | 지갑 ID          |
| chainId       | Int    | 체인 ID          |
| walletAddress | String | 지갑 주소          |
| walletNm      | String | 지갑 이름          |
| secureLevel   | Int    | 지갑 보안 레벨       |
| nftCount      | Int    | 지갑의 NFT 개수     |
| createKst     | Long   | 지갑 생성 시간       |
| updateKst     | Long   | 지갑 마지막 업데이트 시간 |

## FncyBalance

내 지갑에서 보유한 총 자산의 가치를 표현합니다.&#x20;

#### See Also

[getWalletAllBalance](https://docs.fncy.world/fncy-2.0.2-kor/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>지갑 ID</td></tr><tr><td>totalUsdPrice</td><td>String?</td><td>자산 시세 USD</td></tr><tr><td>displayTotalUsdPrice</td><td>String?</td><td>자산 시세 USD</td></tr><tr><td>totalKrwPrice</td><td>String?</td><td>자산 시세 KRW</td></tr><tr><td>displayTotalKrwPrice</td><td>String?</td><td>자산 시세 KRW</td></tr></tbody></table>

## FncyGasPrice

네트워크의 현재 가스가격 정보를 표현합니다.

#### See Also

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

| Name                 | Type       | Description      |
| -------------------- | ---------- | ---------------- |
| fastGasPrice         | BigDecimal | 빠른 전송속도, 높은 가스가격 |
| middleGasPrice       | BigDecimal | 보통 전송속도, 보통 가스가격 |
| slowGasPrice         | BigDecimal | 낮은 전송속도, 낮은 가스가격 |
| baseFeePerGas        | BigDecimal | EIP-1559         |
| maxPriorityFeePerGas | BigDecimal | EIP-1559         |

## FncyQuestion

지갑 복원을 위한 질문 항목을 표현합니다.

#### See Also

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

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

| Name        | Type   | Description |
| ----------- | ------ | ----------- |
| questionSeq | Int    | 질문 Seq      |
| questionEn  | String | 질문 영어       |
| questionKr  | String | 질문 한글       |

## FncyChainInfo

블록 체인의 정보를 표현합니다.

#### See Also

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

| Name           | Type                                       | Description |
| -------------- | ------------------------------------------ | ----------- |
| chainId        | Long                                       | 체인 ID       |
| chainNm        | String?                                    | 체인 이름       |
| chainType      | String?                                    | 체인 타입       |
| chainTypeDcd   | String?                                    | 체인 타입 코드    |
| testnetYn      | String?                                    | 테스트넷 여부     |
| chainActiveYn  | String?                                    | 체인 활성화 여부   |
| chainDesc      | String?                                    | 체인 설명       |
| nativeCoinInfo | [FncyNaviveCoinInfo](#fncynativecoininfo)? | 체인의 코인 정보   |
| majorAssetInfo | [FncyMajorAssetInfo](#fncymajorassetinfo)? | 주 자산 정보     |

## FncyMajorAssetInfo

| Name                | Type    | Description     |
| ------------------- | ------- | --------------- |
| majorAssetId        | Long    | 주 자산 ID         |
| majorAssetSymbol    | String? | 주 자산 심볼         |
| majorAssetSymbolImg | String? | 주 자산 심볼 이미지 URL |
| contractAddress     | String? | 컨트랙트 주소         |

## FncyNativeCoinInfo

해당 네트워크의 이용료 지불을 위해 사용하는 자산(코인)의 정보를 표현합니다.

#### See Also

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

[FncyChainInfo](#fncychaininfo)

| Name                | Type    | Description                |
| ------------------- | ------- | -------------------------- |
| nativeCoinId        | Long    | 코인 ID                      |
| nativeCoinSymbol    | String? | 코인 심볼 문자열                  |
| nativeCoinSymbolImg | String? | 코인 심볼 이미지 URL              |
| nativeCoinDecimal   | Long    | 자산이 허용하는 소수점 이하 자릿수의 최대 길이 |

## FncyAsset

지갑에서 보유하고 있는 자산 정보를 표현하는 데이터입니다.

지갑의 잔액(balance), 자산 정보(assetInfo), 보유한 잔액에 대한 가격 정보(prices)를 함께 제공합니다.

#### See Also

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

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

| Name               | Type                             | Description           |
| ------------------ | -------------------------------- | --------------------- |
| assetId            | Long                             | 지갑 ID                 |
| chainId            | Long                             | 체인 ID                 |
| balance            | BigDecimal?                      | 자산 수량(단위: wei)        |
| balancePlainString | String?                          | 자산 수량(단위: wei) String |
| displayBalance     | String?                          | 자산 수량(단위: eth) String |
| assetInfo          | [FncyAssetInfo](#fncyassetinfo)? | 자산 정보                 |
| prices             | [FncyPrice](#fncyprice)?         | 자산 가격 정보              |

## FncyAssetInfo

자산 정보를 표현하는 데이터입니다.&#x20;

#### See Also

[FncyAsset](#fncyasset)

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

| Name            | Type    | Description                |
| --------------- | ------- | -------------------------- |
| chainId         | Long    | 체인 ID                      |
| chainNm         | String? | 체인 이름                      |
| assetId         | Long    | 자산 ID                      |
| assetNm         | String? | 자산명                        |
| assetSymbol     | String? | 자산 심볼 문자열                  |
| assetSymbolImg  | String? | 자산 심볼 이미지 링크               |
| assetType       | String  | 자산 타입                      |
| assetTypeDcd    | String? | 자산 타입 코드                   |
| contractAddress | String? | 컨트랙트 주소                    |
| assetDecimal    | Long    | 자산이 허용하는 소수점 이하 자릿수의 최대 길이 |

## FncyPrice

통화(BTC, ETH, USD, KRW)별로 환산한 자산의 가치를 표현합니다.

#### See Also

[FncyAsset](#fncyasset)

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

## FncyCurrency

Fncy 코인의 자산 정보 및 가격 정보를 표현합니다.

#### See Also

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

| Name                  | Type    | Description      |
| --------------------- | ------- | ---------------- |
| assetId               | Long    | Asset Id         |
| symbol                | String? | 자산 심볼            |
| btcPrice              | String? | 가격(BTC)          |
| displayBtcPrice       | String? | 표시출력용 가격(BTC)    |
| ethPrice              | String? | 가격(ETH)          |
| displayEthPrice       | String? | 표시출력용 가격(ETH)    |
| usdPrice              | String? | 가격(USD)          |
| displayUsdPrice       | String? | 표시출력용 가격(USD)    |
| krwPrice              | String? | 가격(KRW)          |
| displayKrwPrice       | String? | 표시출력용 가격(KRW)    |
| dailyHigherUsd        | String? | 일 최고(USD)        |
| displayDailyHigherUsd | String? | 표시출력용 일 최고(USD)  |
| dailyHigherKrw        | String? | 일 최고(KRW)        |
| displayDailyHigherKrw | String? | 표시출력용 일 최고(KRW)  |
| dailyLowerUsd         | String? | 일 최저(USD)        |
| displayDailyLowerUsd  | String? | 표시출력용 일 최저(USD)  |
| dailyLowerKrw         | String? | 일 최저(KRW)        |
| displayDailyLowerKrw  | String? | 표시출력용 일 최저(KRW)  |
| dailyVolumeUsd        | String? | 일 거래량(USD)       |
| displayDailyVolumeUsd | String? | 표시출력용 일 거래량(USD) |
| dailyVolumeKrw        | String? | 일 거래량(KRW)       |
| displayDailyVolumeKrw | String? | 표시출력용 일 거래량(KRW) |
| hourChange            | String? | 시간 변동량           |
| dayChange             | String? | 일일 변동량           |
| projectLink           | String? | 프로젝트 링크          |
| whitePaperLink        | String? | 백서 링크            |

## FncyNFT

보유한 NFT의 정보를 표현합니다.&#x20;

#### See Also

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

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

| Name       | Type                         | Description |
| ---------- | ---------------------------- | ----------- |
| nftId      | Long                         | NFT ID      |
| wid        | Long                         | 소유주 지갑 ID   |
| ownerOf    | String?                      | NFT 상태      |
| ownerOfDcd | String?                      | NFT 상태 코드   |
| nftInfo    | [FncyNFTInfo](#fncynftinfo)? | NFT 정보      |

## FncyNFTInfo

NFT의 속성 및 상세 정보를 표현합니다.&#x20;

#### See Also

[FncyNFT](#fncynft)

| Name                    | Type                                         | Description      |
| ----------------------- | -------------------------------------------- | ---------------- |
| chainId                 | Long                                         | 체인 ID            |
| assetTypeDcd            | String?                                      | 자산 타입 코드         |
| assetType               | String?                                      | 자산 타입            |
| nftTypeDcd              | String?                                      | NFT 타입 코드        |
| nftType                 | String?                                      | NFT 타입           |
| contractAddess          | String?                                      | NFT의 컨트랙트 주소     |
| tokenId                 | String?                                      | 토큰 ID            |
| nftNm                   | String?                                      | NFT 이름           |
| nftSymbol               | String?                                      | NFT 심볼 문자열       |
| nftSymbolImg            | String?                                      | NFT 심볼 이미지 URL   |
| nftMetaUri              | String?                                      | NFT 메타 Uri       |
| nftMediaUri             | String?                                      | NFT 미디어 Uri      |
| nftAnimationUrl         | String?                                      | NFT 재생가능한 미디어 링크 |
| holderAuthYn            | String?                                      | 홀더인증 가능 여부       |
| nftHolderAuthDirectLink | String?                                      | NFT 마켓플레이스 링크    |
| attribute               | List<[FncyNFTAttribute](#fncynftattribute)>? | NFT 속성 값 목록      |
| nftMetaJson             | String?                                      | NFT 메타데이터 Json   |
| nftDesc                 | String?                                      | NFT 설명           |

## FncyNFTAttribute

| Name       | Type       | Description        |
| ---------- | ---------- | ------------------ |
| attrSeq    | Long       | Attribute Seq      |
| nftSeq     | Long?      | 해당 NFT Seq         |
| trait      | String?    | 해당 Property의 키 값   |
| traitValue | String?    | 해당 Property의 벨류 값  |
| rarity     | BigDecimal | 희귀도                |
| order      | Long?      | Attribute 순서       |
| createDt   | Long?      | Attribute 생성 시간    |
| updateUts  | Long?      | Attribute 최근 수정 시간 |

## FncyTicket

트랜잭션 전송을 위한 티켓 정보를 표현합니다.&#x20;

#### See Also

[estimateTicket](https://docs.fncy.world/fncy-2.0.2-kor/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>지갑 ID</td></tr><tr><td>signatureType</td><td><a href="../../ios/etc#tickettype">TicketType</a>?</td><td>전송 타입</td></tr><tr><td>transferFrom</td><td>String?</td><td>자산을 보내는 주소</td></tr><tr><td>transferTo</td><td>String?</td><td>자산을 받는 주소</td></tr><tr><td>transferVal</td><td>BigInteger</td><td>전송할 자산 액수</td></tr><tr><td>txNonce</td><td>Long</td><td>Transaction Nonce</td></tr><tr><td>txGasPrice</td><td>BigInteger?</td><td>gas price(wei단위)</td></tr><tr><td>txGasLimit</td><td>BigInteger?</td><td>gas limit(wei단위)</td></tr><tr><td>txInput</td><td>String?</td><td>스마트 컨트랙트 실행의 경우 필요</td></tr><tr><td>contractAddress</td><td>String?</td><td>컨트랙트 주소</td></tr><tr><td>chainId</td><td>Long</td><td>체인 ID (기본 값 0)</td></tr><tr><td>assetId</td><td>Long</td><td> 자산 ID (기본 값 0)</td></tr><tr><td>nftId</td><td>Long</td><td> NFT ID (기본 값 0)</td></tr><tr><td>tokenId</td><td>Long</td><td>토큰 ID (기본 값 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

네트워크로 전송된 트랜잭션의 상세 정보를 표현합니다.

#### See Also

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

[getTransferHistoryList](https://docs.fncy.world/fncy-2.0.2-kor/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>체인 ID</td></tr><tr><td>wid</td><td>Long</td><td>지갑 ID</td></tr><tr><td>historySeq</td><td>Long</td><td>History Seq</td></tr><tr><td>walletAddress</td><td>String</td><td>지갑 주소</td></tr><tr><td>txId</td><td>String</td><td>BlockChain 상의 Transaction ID</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>전송에 사용한 가스비(wei)</td></tr><tr><td>displayTxFee</td><td>String?</td><td>전송에 사용한 가스비(Eth)</td></tr><tr><td>txAnnotation</td><td>String?</td><td>txAnnotation</td></tr><tr><td>transferFrom</td><td>String?</td><td>자산을 보낸 주소</td></tr><tr><td>transferTo</td><td>String?</td><td>자산을 받은 주소</td></tr><tr><td>transferVal</td><td>String?</td><td>전송할 자산의 크기(wei)</td></tr><tr><td>displayTransferVal</td><td>String?</td><td>전송할 자산의 크기(Eth)</td></tr><tr><td>assetInfo</td><td><a href="#fncyassetinfo">FncyAssetInfo</a></td><td>자산 정보</td></tr><tr><td>transferMethod</td><td>String?</td><td>TranferMethod </td></tr><tr><td>txSt</td><td>String?</td><td>트랜잭션 상태</td></tr><tr><td>txStDcd</td><td>String?</td><td>트랜잭션 상태 코드</td></tr><tr><td>inOut</td><td>String?</td><td>입출금 구분</td></tr><tr><td>inOutDcd</td><td>String?</td><td>입출금 구분 코드</td></tr><tr><td>blockTimestamp</td><td>Long?</td><td>해당 이력이 포함된 블록의 생성 시간</td></tr><tr><td>historyUts</td><td>Long?</td><td>최근 데이터 변경이 있었던 시간</td></tr></tbody></table>

## FncyTicketResult

블록체인 네트워크로 전송할 준비가 완료된 티켓의 정보를 표현합니다.&#x20;

#### See Also

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

| Name       | Type   | Description      |
| ---------- | ------ | ---------------- |
| ticketUuid | String | 생성된 티켓의 uuid     |
| ticketHash | String | 서명이 되지 않은 txHash |

##
