Wallet API

Wallet Service API

AUTHORIZATION - Bearer Token

This folder is using Bearer Token

-------------------------------------------------------------------------------------------------

Domain Code

Wallet Type

Type
Domain Code
desc

WALLET_TYPE_HD_WALLET

1002001

HD Wallet(Internal)

WALLET_TYPE_EXTERNAL_WALLET

1002002

External wallet

NFTs Supported

Type
Domain Code
desc

OWNER_OF_IN_STOCK

1005001

NFT in stock

OWNER_OF_FOR_SALE

1005002

NFT for sale

OWNER_OF_SOLD_OUT

1005003

NFT sold out

OWNER_OF_BURN

1005004

NFT burned

OWNER_OF_EXTERNAL_TRANSFER_OUT

1005005

NFT external withdrawl

NFTs Type

Type
Domain Code
desc

NFT_TYPE_GAME

1015001

NFT of game

NFT_TYPE_BASIC

1015002

NFT of gallery

NFT_TYPE_SPECIAL

1015003

NFT of membership

GET

---------------------------------------------------------------------------------------------------

Search - Wallet List

GET https://apis.cubeapi.io/v1/wallets

Wallet Type

List of wallets mapped to ssess

Query Parameters

Name
Type
Description

pageNo

Int

default: 1

pageSize

Int

default: 20

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "paging": {
            "pageNo": 1,
            "pageSize": 20,
            "totalCount": 1,
            "hasMore": false
        },
        "items": [
            {
                "wid": 10003,
                "createKst": 1648447308677,
                "updateKst": 1648465431990,
                "fid": 2517,
                "walletTypeDcd": "1002001",
                "walletType": "HD wallet",
                "walletAddress": "0xc8B26ef06FFEd6711Cf9deCE1cfB28fEC8209dcA",
                "walletIndex": 0,
                "walletNm": "11134r52as1",
                "chainId": 1,
                "displayOrd": 1,
                "displayYn": "Y",
                "bookmarkYn": "N",
                "externalServiceProviderDcd": null,
                "externalServiceProvider": null,
                "useGame": false,
                "totalCubeBalance": 0,
                "displayTotalCubeBalance": "0",
                "nftCount": 0
            }            
        ]
    }
}

Search - Wallet detail by Wallet Id (wid)

GET https://apis.cubeapi.io/v1/wallets/{wid}

Path Parameters

Name
Type
Description

wid*

Int

wallet id

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "items": [
            {
                "wid": 10003,
                "createKst": 1648447308677,
                "updateKst": 1648465431990,
                "fid": 2517,
                "walletTypeDcd": "1002001",
                "walletType": "HD wallet",
                "walletAddress": "0xc8B26ef06FFEd6711Cf9deCE1cfB28fEC8209dcA",
                "walletIndex": 0,
                "walletNm": "11134r52as1",
                "chainId": 1,
                "displayOrd": 1,
                "displayYn": "Y",
                "bookmarkYn": "N",
                "externalServiceProviderDcd": null,
                "externalServiceProvider": null,
                "useGame": false,
                "totalCubeBalance": 0,
                "displayTotalCubeBalance": "0",
                "nftCount": 0
            }
        ]
    }
}

Search - Wallet Total Balance by Wallet Id (the market price)

GET https://apis.cubeapi.io/v1/wallets/{wid}/balance

Inquire the conversion amount of all assets held in the wallet (USD, KRW)

Path Parameters

Name
Type
Description

wid*

Int

wallet id

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "items": [
            {
                "wid": 10003,
                "totalUsdPrice": 608.78505714431880330285018333,
                "displayTotalUsdPrice": "608.79",
                "totalKrwPrice": 829030.05549596757417337327744428,
                "displayTotalKrwPrice": "829,030"
            }
        ]
    }
}

Search - assets for Dashboard

GET https://apis.cubeapi.io/v1/wallets/{wid}/assets-all

Inquire information such as quantity and conversion amount of all assets held in the wallet

Search Guide - one of the list

1./v1/wallets/:wid/assets-all?fncyYn=Y&cubeYn=N&gcoinYn=N&defaultYn=Y 2./v1/wallets/:wid/assets-all?fncyYn=N&cubeYn=Y&gcoinYn=N&defaultYn=Y 3./v1/wallets/:wid/assets-all?fncyYn=Y&cubeYn=N&gcoinYn=Y&defaultYn=Y 4./v1/wallets/:wid/assets-all?fncyYn=N&cubeYn=Y&gcoinYn=Y&defaultYn=Y 5./v1/wallets/:wid/assets-all?fncyYn=N&cubeYn=N&gcoinYn=N&defaultYn=Y 6./v1/wallets/:wid/assets-all?fncyYn=N&cubeYn=N&gcoinYn=N&defaultYn=N

Path Parameters

Name
Type
Description

wid*

Int

wallet id

Query Parameters

Name
Type
Description

fncyYn

String

Y | N

cubeYn

String

Y | N

gcoinYn

String

Y | N

defaultYn

String

Y | N

pageNo

Int

default: 1

pageSize

Int

default: 20

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "paging": {
            "pageNo": 1,
            "pageSize": 20,
            "totalCount": 1,
            "hasMore": false
        },
        "items": [
            {
                "chainId": 3,
                "assetSeq": 2378,
                "wid": 10003,
                "assetId": 6,
                "assetOrd": 20,
                "displayYn": "Y",
                "balance": 336624855718900000000,
                "balancePlainString": "336624855718900000000",
                "displayBalance": "336.6248",
                "assetInfo": {
                    "assetId": 6,
                    "chainId": 3,
                    "chainNm": "FNCY",
                    "assetTypeDcd": "1004001",
                    "assetType": "Coin",
                    "contractAddress": "",
                    "assetNm": "FNCY",
                    "assetSymbol": "FNCY",
                    "assetSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/FNCY.png",
                    "assetDecimal": 18,
                    "fncyYn": "Y",
                    "cubeYn": "N",
                    "gcoinYn": "N",
                    "defaultAssetYn": "Y",
                    "gameCode": null,
                    "assetButtonTypeDcd": "1011013",
                    "assetButtonType": "COIN(FNCY)"
                },
                "prices": {
                    "btcPrice": 0,
                    "displayBtcPrice": "0",
                    "ethPrice": 0,
                    "displayEthPrice": "0",
                    "usdPrice": 0,
                    "displayUsdPrice": "0",
                    "krwPrice": 0,
                    "displayKrwPrice": "0"
                },
                "gameCode": null,
                "gameNm": null,
                "marketId": null,
                "publishedYn": null
            }
        ]
    }
}

Search - User wallet asset

GET https://apis.cubeapi.io/v1/wallets/{wid}/assets/{assetId}

Path Parameters

Name
Type
Description

wid*

Int

wallet id

assetId*

Int

asset id you want to search

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "items": [
            {
                "chainId": 1,
                "assetSeq": 10,
                "wid": 10003,
                "assetId": 2,
                "assetOrd": 2,
                "displayYn": "Y",
                "balance": 1030091613676445059,
                "balancePlainString": "1030091613676445059",
                "displayBalance": "1.030091613676445059",
                "assetInfo": {
                    "assetId": 2,
                    "chainId": 1,
                    "chainNm": "BNB Smart Chain(BNB)",
                    "assetTypeDcd": "1004001",
                    "assetType": "Coin",
                    "contractAddress": "",
                    "assetNm": "Binance Coin",
                    "assetSymbol": "BNB",
                    "assetSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/BNB.png",
                    "assetDecimal": 18,
                    "fncyYn": null,
                    "cubeYn": "N",
                    "gcoinYn": "N",
                    "defaultAssetYn": "Y",
                    "gameCode": null,
                    "assetButtonTypeDcd": "1011004",
                    "assetButtonType": "COIN(BSC)"
                },
                "prices": {
                    "btcPrice": 0E-26,
                    "displayBtcPrice": "0",
                    "ethPrice": 0E-26,
                    "displayEthPrice": "0",
                    "usdPrice": 323.98534025196428530285018333,
                    "displayUsdPrice": "323.99",
                    "krwPrice": 441196.08600483797455537327744428,
                    "displayKrwPrice": "441,196"
                },
                "gameCode": null,
                "gameNm": null,
                "marketId": null,
                "publishedYn": null
            }
        ]
    }
}

Search - List of NFT

GET https://apis.cubeapi.io/v1/wallets/{wid}/nfts

List of NFTs Supported

NFTs Type

Search Guide

1.Full NFT search by NFTs type

-nftType: [game | basic | special]

-ownerOf: ""

2."in stokc" NFT Search by NFTs type

-nftType: [game | basic | special]

-ownerOf: "instock"

3."for sale" NFT Search by NFTs type

-nftType: [game | basic | special]

-ownerOf: "forsale"

4."holderAuth" NFT Saerch

-nftType: [game | basic | special]

-ownerOf: ""

-holderAuthYn: "Y"

Path Parameters

Name
Type
Description

wid*

Int

wallet id

Query Parameters

Name
Type
Description

ntfType

String

game | basic | spectial (empty for full search)

ownerOf

String

instock | forsale | soldout (empty for full search)

holderAuthYn

String

Y | N (empty for full search)

pageNo

Int

default: 1

pageSize

Int

default: 20

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "paging": {
            "pageNo": 1,
            "pageSize": 20,
            "totalCount": 10,
            "hasMore": false
        },
        "items": [
            {
                "wid": 10003,
                "nftId": 10326,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftOrd": 1,
                "displayYn": "Y",
                "nftInfo": {
                    "nftId": 10326,
                    "chainId": 3,
                    "assetTypeDcd": "1004003",
                    "assetType": "ERC721",
                    "nftTypeDcd": "1015001",
                    "nftType": "game",
                    "contractAddress": "0x0000000000000000000000000000000000000001",
                    "tokenId": "100000002",
                    "nftNm": "temporary_db_nft",
                    "nftSymbol": "temp",
                    "nftSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/DEFAULT_NFT.png",
                    "nftMetaUri": null,
                    "nftMediaUri": null,
                    "nftAnimationUrl": null,
                    "nftMetaJson": null,
                    "nftDesc": null,
                    "nftSource": null,
                    "nftDirectLink": null,
                    "holderAuthYn": "Y",
                    "nftHolderAuthDirectLink": null,
                    "marketId": null,
                    "gameCode": null,
                    "btnSendtogameYn": "N",
                    "btnNftsellYn": "N",
                    "btnNftcancelYn": "N",
                    "btnNftmodifyYn": "N",
                    "binanceSaleYn": "N"
                }
            },
            {
                "wid": 10003,
                "nftId": 10316,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftOrd": 2,
                "displayYn": "Y",
                "nftInfo": {
                    "nftId": 10316,
                    "chainId": 3,
                    "assetTypeDcd": "1004003",
                    "assetType": "ERC721",
                    "nftTypeDcd": "1015002",
                    "nftType": "basic",
                    "contractAddress": "0xfd3f84d7635523d4b5c61c8d03f7c67944d25b26",
                    "tokenId": "2",
                    "nftNm": "irris jjang",
                    "nftSymbol": "IRRIS",
                    "nftSymbolImg": "https://dev-static.cube.store/markets/irris/images/2",
                    "nftMetaUri": "https://marble-api-dev.itamgames.com/tankers/markets/irris/nfts/2/metadata",
                    "nftMediaUri": null,
                    "nftAnimationUrl": "https://dev-static.cube.store/files/nft_farm/irris/video/irris_bottom.mp4",
                    "nftMetaJson": null,
                    "nftDesc": null,
                    "nftSource": null,
                    "nftDirectLink": null,
                    "holderAuthYn": "Y",
                    "nftHolderAuthDirectLink": "https://v2-xplatform-dev.itamgames.com/deeplink/nfts-holder-verification?productId=irris-tt-card",
                    "marketId": null,
                    "gameCode": null,
                    "btnSendtogameYn": "N",
                    "btnNftsellYn": "N",
                    "btnNftcancelYn": "N",
                    "btnNftmodifyYn": "N",
                    "binanceSaleYn": "N"
                }
            },
            {
                "wid": 10003,
                "nftId": 10243,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftOrd": 4,
                "displayYn": "Y",
                "nftInfo": {
                    "nftId": 10243,
                    "chainId": 1,
                    "assetTypeDcd": "1004003",
                    "assetType": "ERC721",
                    "nftTypeDcd": "1015001",
                    "nftType": "game",
                    "contractAddress": "0x3544c960ee3f0e60fed444f3c3b6abe6236daa1a",
                    "tokenId": "257",
                    "nftNm": "GBNFT-NFT-257",
                    "nftSymbol": "GBNFT",
                    "nftSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/DEFAULT_NFT.png",
                    "nftMetaUri": "https://api.itamgames.com/development/tankers/markets/golden-bros/nfts/257?publicationSource=game",
                    "nftMediaUri": null,
                    "nftAnimationUrl": null,
                    "nftMetaJson": null,
                    "nftDesc": null,
                    "nftSource": "game",
                    "nftDirectLink": "https://launcher-dev.itamgames.com/nft/golden-bros/257?source=game",
                    "holderAuthYn": "N",
                    "nftHolderAuthDirectLink": null,
                    "marketId": "golden-bros",
                    "gameCode": "gold",
                    "btnSendtogameYn": "Y",
                    "btnNftsellYn": "Y",
                    "btnNftcancelYn": "Y",
                    "btnNftmodifyYn": "Y",
                    "binanceSaleYn": "N"
                }
            },
            {
                "wid": 10003,
                "nftId": 10236,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftOrd": 5,
                "displayYn": "Y",
                "nftInfo": {
                    "nftId": 10236,
                    "chainId": 1,
                    "assetTypeDcd": "1004003",
                    "assetType": "ERC721",
                    "nftTypeDcd": "1015001",
                    "nftType": "game",
                    "contractAddress": "0x3544c960ee3f0e60fed444f3c3b6abe6236daa1a",
                    "tokenId": "250",
                    "nftNm": "GBNFT-NFT-250",
                    "nftSymbol": "GBNFT",
                    "nftSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/DEFAULT_NFT.png",
                    "nftMetaUri": "https://api.itamgames.com/development/tankers/markets/golden-bros/nfts/250?publicationSource=game",
                    "nftMediaUri": null,
                    "nftAnimationUrl": null,
                    "nftMetaJson": null,
                    "nftDesc": null,
                    "nftSource": "game",
                    "nftDirectLink": "https://launcher-dev.itamgames.com/nft/golden-bros/250?source=game",
                    "holderAuthYn": "N",
                    "nftHolderAuthDirectLink": null,
                    "marketId": "golden-bros",
                    "gameCode": "gold",
                    "btnSendtogameYn": "Y",
                    "btnNftsellYn": "Y",
                    "btnNftcancelYn": "Y",
                    "btnNftmodifyYn": "Y",
                    "binanceSaleYn": "N"
                }
            },
            {
                "wid": 10003,
                "nftId": 10228,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftOrd": 6,
                "displayYn": "Y",
                "nftInfo": {
                    "nftId": 10228,
                    "chainId": 1,
                    "assetTypeDcd": "1004003",
                    "assetType": "ERC721",
                    "nftTypeDcd": "1015001",
                    "nftType": "game",
                    "contractAddress": "0x3544c960ee3f0e60fed444f3c3b6abe6236daa1a",
                    "tokenId": "242",
                    "nftNm": "GBNFT-NFT-242",
                    "nftSymbol": "GBNFT",
                    "nftSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/DEFAULT_NFT.png",
                    "nftMetaUri": "https://api.itamgames.com/development/tankers/markets/golden-bros/nfts/242?publicationSource=game",
                    "nftMediaUri": null,
                    "nftAnimationUrl": null,
                    "nftMetaJson": null,
                    "nftDesc": null,
                    "nftSource": "game",
                    "nftDirectLink": "https://launcher-dev.itamgames.com/nft/golden-bros/242?source=game",
                    "holderAuthYn": "N",
                    "nftHolderAuthDirectLink": null,
                    "marketId": "golden-bros",
                    "gameCode": "gold",
                    "btnSendtogameYn": "Y",
                    "btnNftsellYn": "Y",
                    "btnNftcancelYn": "Y",
                    "btnNftmodifyYn": "Y",
                    "binanceSaleYn": "N"
                }
            },
            {
                "wid": 10003,
                "nftId": 10191,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftOrd": 7,
                "displayYn": "Y",
                "nftInfo": {
                    "nftId": 10191,
                    "chainId": 1,
                    "assetTypeDcd": "1004003",
                    "assetType": "ERC721",
                    "nftTypeDcd": "1015001",
                    "nftType": "game",
                    "contractAddress": "0x3544c960ee3f0e60fed444f3c3b6abe6236daa1a",
                    "tokenId": "205",
                    "nftNm": "GBNFT-NFT-205",
                    "nftSymbol": "GBNFT",
                    "nftSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/DEFAULT_NFT.png",
                    "nftMetaUri": "https://api.itamgames.com/development/tankers/markets/golden-bros/nfts/205?publicationSource=game",
                    "nftMediaUri": null,
                    "nftAnimationUrl": null,
                    "nftMetaJson": null,
                    "nftDesc": null,
                    "nftSource": "game",
                    "nftDirectLink": "https://launcher-dev.itamgames.com/nft/golden-bros/205?source=game",
                    "holderAuthYn": "N",
                    "nftHolderAuthDirectLink": null,
                    "marketId": "golden-bros",
                    "gameCode": "gold",
                    "btnSendtogameYn": "N",
                    "btnNftsellYn": "Y",
                    "btnNftcancelYn": "Y",
                    "btnNftmodifyYn": "Y",
                    "binanceSaleYn": "N"
                }
            },
            {
                "wid": 10003,
                "nftId": 10184,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftOrd": 8,
                "displayYn": "Y",
                "nftInfo": {
                    "nftId": 10184,
                    "chainId": 1,
                    "assetTypeDcd": "1004003",
                    "assetType": "ERC721",
                    "nftTypeDcd": "1015001",
                    "nftType": "game",
                    "contractAddress": "0x3544c960ee3f0e60fed444f3c3b6abe6236daa1a",
                    "tokenId": "198",
                    "nftNm": "GBNFT-NFT-198",
                    "nftSymbol": "GBNFT",
                    "nftSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/DEFAULT_NFT.png",
                    "nftMetaUri": "https://api.itamgames.com/development/tankers/markets/golden-bros/nfts/198?publicationSource=game",
                    "nftMediaUri": null,
                    "nftAnimationUrl": null,
                    "nftMetaJson": null,
                    "nftDesc": null,
                    "nftSource": "game",
                    "nftDirectLink": "https://launcher-dev.itamgames.com/nft/golden-bros/198?source=game",
                    "holderAuthYn": "N",
                    "nftHolderAuthDirectLink": null,
                    "marketId": "golden-bros",
                    "gameCode": "gold",
                    "btnSendtogameYn": "N",
                    "btnNftsellYn": "Y",
                    "btnNftcancelYn": "Y",
                    "btnNftmodifyYn": "Y",
                    "binanceSaleYn": "N"
                }
            },
            {
                "wid": 10003,
                "nftId": 10177,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftOrd": 9,
                "displayYn": "Y",
                "nftInfo": {
                    "nftId": 10177,
                    "chainId": 1,
                    "assetTypeDcd": "1004003",
                    "assetType": "ERC721",
                    "nftTypeDcd": "1015001",
                    "nftType": "game",
                    "contractAddress": "0x3544c960ee3f0e60fed444f3c3b6abe6236daa1a",
                    "tokenId": "185",
                    "nftNm": "GBNFT-NFT-185",
                    "nftSymbol": "GBNFT",
                    "nftSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/DEFAULT_NFT.png",
                    "nftMetaUri": "https://api.itamgames.com/development/tankers/markets/golden-bros/nfts/185?publicationSource=game",
                    "nftMediaUri": null,
                    "nftAnimationUrl": null,
                    "nftMetaJson": null,
                    "nftDesc": null,
                    "nftSource": "game",
                    "nftDirectLink": "https://launcher-dev.itamgames.com/nft/golden-bros/185?source=game",
                    "holderAuthYn": "N",
                    "nftHolderAuthDirectLink": null,
                    "marketId": "golden-bros",
                    "gameCode": "gold",
                    "btnSendtogameYn": "N",
                    "btnNftsellYn": "Y",
                    "btnNftcancelYn": "Y",
                    "btnNftmodifyYn": "Y",
                    "binanceSaleYn": "N"
                }
            },
            {
                "wid": 10003,
                "nftId": 10165,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftOrd": 10,
                "displayYn": "Y",
                "nftInfo": {
                    "nftId": 10165,
                    "chainId": 1,
                    "assetTypeDcd": "1004003",
                    "assetType": "ERC721",
                    "nftTypeDcd": "1015001",
                    "nftType": "game",
                    "contractAddress": "0x3544c960ee3f0e60fed444f3c3b6abe6236daa1a",
                    "tokenId": "169",
                    "nftNm": "GBNFT-NFT-169",
                    "nftSymbol": "GBNFT",
                    "nftSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/DEFAULT_NFT.png",
                    "nftMetaUri": "https://api.itamgames.com/development/tankers/markets/golden-bros/nfts/169?publicationSource=game",
                    "nftMediaUri": null,
                    "nftAnimationUrl": null,
                    "nftMetaJson": null,
                    "nftDesc": null,
                    "nftSource": "game",
                    "nftDirectLink": "https://launcher-dev.itamgames.com/nft/golden-bros/169?source=game",
                    "holderAuthYn": "N",
                    "nftHolderAuthDirectLink": null,
                    "marketId": "golden-bros",
                    "gameCode": "gold",
                    "btnSendtogameYn": "N",
                    "btnNftsellYn": "Y",
                    "btnNftcancelYn": "Y",
                    "btnNftmodifyYn": "Y",
                    "binanceSaleYn": "N"
                }
            },
            {
                "wid": 10003,
                "nftId": 10164,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftOrd": 11,
                "displayYn": "Y",
                "nftInfo": {
                    "nftId": 10164,
                    "chainId": 1,
                    "assetTypeDcd": "1004003",
                    "assetType": "ERC721",
                    "nftTypeDcd": "1015001",
                    "nftType": "game",
                    "contractAddress": "0x3544c960ee3f0e60fed444f3c3b6abe6236daa1a",
                    "tokenId": "168",
                    "nftNm": "GBNFT-NFT-168",
                    "nftSymbol": "GBNFT",
                    "nftSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/DEFAULT_NFT.png",
                    "nftMetaUri": "https://api.itamgames.com/development/tankers/markets/golden-bros/nfts/168?publicationSource=game",
                    "nftMediaUri": null,
                    "nftAnimationUrl": null,
                    "nftMetaJson": null,
                    "nftDesc": null,
                    "nftSource": "game",
                    "nftDirectLink": "https://launcher-dev.itamgames.com/nft/golden-bros/168?source=game",
                    "holderAuthYn": "N",
                    "nftHolderAuthDirectLink": null,
                    "marketId": "golden-bros",
                    "gameCode": "gold",
                    "btnSendtogameYn": "N",
                    "btnNftsellYn": "Y",
                    "btnNftcancelYn": "Y",
                    "btnNftmodifyYn": "Y",
                    "binanceSaleYn": "N"
                }
            }
        ]
    }
}
            

Search - NFT detail

GET https://apis.cubeapi.io/v1/wallets/{wid}/nfts/{nftId}

List of NFTs Supported

NFTs Type

Path Parameters

Name
Type
Description

wid*

Int

wallet id

nftid*

String

NFT id managed by the wallet server

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "items": [
            {
                "nftId": 10015,
                "ownerOfDcd": "1005001",
                "ownerOf": "in stock",
                "lockedYn": "N",
                "nftInfo": {
                    "chainId": 1,
                    "nftTypeDcd": "1015001",
                    "nftType": "game",
                    "contractAddress": "0x1fa7610837332da881db07e2cee7a0edc2da64d8",
                    "tokenId": "16452",
                    "nftNm": "ITAM-NFT-16452",
                    "nftSymbol": "ITAM",
                    "nftSymbolImg": "https://d39rr95p1k6fjx.cloudfront.net/resource/assets/image/symbol/DEFAULT_NFT.png",
                    "nftMetaUri":"https://api.itam.network/testnet/tankers/markets/itam/nfts/

Search - List of questions for restoration

GET https://apis.cubeapi.io/v1/questions

Path Parameters

Name
Type
Description

fid*

Int

metaverse flatform id

Query Parameters

Name
Type
Description

pageNo

Int

default: 1

pageSize

Int

default: 20

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "paging": {
            "pageNo": 1,
            "pageSize": 20,
            "totalCount": 3,
            "hasMore": false
        },
        "items": [
            {
                "questionSeq": 5,
                "questionKr": "영화관에서 처음으로 관람한 영화를 입력해주세요.",
                "questionEn": "The first movie you saw at the cinema.",
                "questionJp": "映画館で初めて観た映画のタイトルを入力してください。"
            },
            {
                "questionSeq": 25,
                "questionKr": "처음 방문했던 해변의 이름을 입력해주세요.",
                "questionEn": "The name of the first beach you visited.",
                "questionJp": "初めて訪問した海辺の名前を入力してください。"
            },
            {
                "questionSeq": 28,
                "questionKr": "가장 좋아하는 스포츠 팀을 입력해주세요.",
                "questionEn": "Your favorite sports team.",
                "questionJp": "一番好きなスポーツチームを入力してください。"
            }
        ]
    }
}

POST

---------------------------------------------------------------------------------------------------

Create - FNCY HD Wallet(Internal)

POST https://apis.cubeapi.io/v1/wallets

Request Body

Name
Type
Description

chainId*

Int

Chain id managed by wallet server

WalletNm*

String

Alias of wallet

rsaEncryptUserQuestion*

String

Encrypted value with rsa public key after sha256 hash of user question

rsaEncryptUserAnswer*

String

Encrypted value with rsa public key after sha256 hash of user answer

rsaEncryptUserPin*

String

Encrypted value with rsa public key after sha256 hash of password

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "resultType": "WalletInsertResultCodes",
        "result": {
            "isSuccess": true|false,
            "code": "enum code of WalletInsertResultCodes",
            "number": http status code,
            "message": "http status message: result message"
        },
        "wid": 0
    }
}

Create - External Wallet

POST https://apis.cubeapi.io/v1/wallets/external

Request Body

Name
Type
Description

chainId*

Int

Chain id managed by wallet server

WalletNm*

String

Alias of wallet

rsaEncryptUserQuestion*

String

Encrypted value with rsa public key after sha256 hash of user question

rsaEncryptUserAnswer*

String

Encrypted value with rsa public key after sha256 hash of user answer

rsaEncryptUserPin*

String

Encrypted value with rsa public key after sha256 hash of password

rsaEncryptExternalPrivateKey*

String

Encrypted value of private key with rsa public key

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "resultType": "WalletInsertResultCodes",
        "result": {
            "isSuccess": true|false,
            "code": "enum code of WalletInsertResultCodes",
            "number": http status code,
            "message": "http status message: result message"
        },
        "wid": 0
    }
}

Check - Wallet password

POST https://apis.cubeapi.io/v1/wallets/pin-check

Encryption process

String text = "12345";

byte[] hashKey = text.getBytes();

hashKey = Hash.sha256(hashKey)

hashKey = Hash.sha256(hashKey)

hashKey -> rsa publick key

Request Body

Name
Type
Description

rsaEncryptedHashedPin*

String

Encypted value of password with sha256 hash twice and Encypted with member`s public key

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "resultType": "WalletAuthenticationCheckResultCodes",
        "result": {
            "isSuccess": true|false,
            "code": "enum code of WalletAuthenticationCheckResultCodes",
            "number": http status code,
            "message": "http status message: result message"
        },
        "wid": 0
    }
}

Check - Question Answer

POST https://apis.cubeapi.io/v1/wallets/answer-check

Encryption process

String text = "12345";

byte[] hashKey = text.getBytes();

hashKey = Hash.sha256(hashKey)

hashKey = Hash.sha256(hashKey)

hashKey -> rsa public key

Request Body

Name
Type
Description

rsaEncryptedHashedAnswer*

String

Encypted value of answer(lowercase) with sha256 hash twice and Encypted with member`s public key

rsaEncryptedHashedAnswerAlter*

String

Encypted value of answer(as it is) with sha256 hash twice and Encypted with member`s public key

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "resultType": "WalletAuthenticationCheckResultCodes",
        "result": {
            "isSuccess": true|false,
            "code": "enum code of WalletAuthenticationCheckResultCodes",
            "number": http status code,
            "message": "http status message: result message"
        },
        "wid": 0
    }
}

Check - Duplicate External Wallet(validity check)

POST https://apis.cubeapi.io/v1/wallets/external-check

Request Body

Name
Type
Description

rsaEncryptExternalPrivateKey*

String

Encryped value of private key with rsa public key

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "resultType": "WalletInsertResultCodes",
        "result": {
            "isSuccess": true|false,
            "code": "enum code of WalletInsertResultCodes",
            "number": http status code,
            "message": "http status message: result message"
        },
        "wid": 0
    }
}

Search - Wallet connect signature

POST https://apis.cubeapi.io/v1/wallets/{wid}/signature

Path Parameters

Name
Type
Description

wid*

Int

wallet number you want to search

Headers

Name
Type
Description

dataToSign*

String

Value you want to sign

rsaEncryptedHashedPin*

String

Encypted value of password with sha256 hash and Encypted with member`s public key

{
  "apiVersion": "1",
  "status": {
    "code": 200,
    "message": "OK"
  },
  "data": {
    "signature": "signature value"
  }
}

Search - Wallet private key

POST https://apis.cubeapi.io/v1/wallets/{wid}/private-key

Request Body

Name
Type
Description

oneTimeRsaPubKey*

String

rsa public key generated by the client

rsaEncryptedHashedPin*

String

Encypted value of password with sha256 hash and Encypted with rsa

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "items": [
            {
                "rsaEncryptedPrivateKey": "PrivateKey"
            }
        ]
    }
}

PATCH

---------------------------------------------------------------------------------------------------

Restore - User selected questions for restoration

PATCH https://apis.cubeapi.io/v1/wallets/restore/answer

Request Body

Name
Type
Description

rsaEncryptUserAnswer*

String

Encrypt the value obtained by hashing the user's question answer (lowercase processing) with sha256 2 with the member's rsa public key

rsaEncryptChangeUserPin*

String

Encrypt the new password sha256 hash with the member's rsa public key

rsaEncryptUserAnswerAlter*

String

Encrypting the user's question answer (as input) with sha256 hashed value 2 with the member's rsa public key

Change - Wallet password

PATCH https://devx-apis.cubeapi.io/v1/wallets/pin

Request Body

Name
Type
Description

rsaEncryptUserPin*

String

Encrypted value with rsa public key after sha256 hash of original password

rsaEncryptChangeUserPin*

String

Encrypted value with rsa public key after sha256 hash of password to be changed

{
    "apiVersion": "1",
    "status": {
        "code": 200,
        "message": "OK"
    },
    "data": {
        "resultType": "WalletPinChangeResultCodes",
        "result": {
            "isSuccess": true|false,
            "code": "enum code of WalletPinChangeResultCodes",
            "number": http status code,
            "message": "http status message: result message"
        },
        "wid": 0
    }
}