Blockchain API

Blockchain API

AUTHORIZATION - Bearer Token

This folder is using Bearer Token

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

Domain Code

Asset Button Type

Type
Domain Code
desc

CUBE(BSC)

1011001

CUBE

CUBE(ETH)

1011002

CUBE

CUBE(KLAY)

1011003

CUBE

COIN(Binance)

1011004

Coin(BNB)

COIN(Ethereum)

1011005

Coin(ETH)

COIN(Klay)

1011006

Coin(Klay)

BEP20

1011007

BEP20

ERC20

1011008

ERC20

KIP7

1011009

KIP7

GAME TOKEN

1011010

Game Token

LP TOKEN

1011011

LP Token

Asset Button Features

Type
Domain Code
desc

Receive

1012001

Send

1012002

Bridge

1012003

Trade

1012004

Invest

1012005

Stake

1012006

Exchange Info

1012007

exchange infomation

Send to Game

1012008

send to game

Buy With Card

1012009

buy Coin, Cube

Send to Wallet

1012010

send to wallet

GET

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

Search - BlockChain platform list

GET https://apis.cubeapi.io/v1/block-chains

BlockChains platform list managed by wallet server

Query Parameters

Name
Type
Description

pageNo

Int

default: 1

pageSize

Int

default: 20

Search - BlockChain platform detail

GET https://apis.cubeapi.io/v1/block-chains/{chainId}

BlockChain platform detail managed by wallet server

Path Parameters

Name
Type
Description

chainId*

Int

chain id managed by wallet server

Search - BlockChain platform asset list

GET https://apis.cubeapi.io/v1/block-chains/{chainId}/assets

Path Parameters

Name
Type
Description

chainId*

Int

chain id managed by wallet server

Query Parameters

Name
Type
Description

pageNo

Int

default: 1

pageSize

Int

default: 20

Search - blockchain platform asset with contract address

GET https://apis.cubeapi.io/v1/block-chains/{chainId}/assets/contractAddress/{contractAddress}

Path Parameters

Name
Type
Description

chainId*

Int

chain id managed by wallet server

contractAddress*

String

contract address

Search - Blockchain platform NFT list

GET https://apis.cubeapi.io/v1/block-chains/{chainId}/nfts

Path Parameters

Name
Type
Description

chainId*

Int

chain id managed by wallet server

Query Parameters

Name
Type
Description

pageNo

Int

default: 1

pageSize

Int

default: 20

Search - The market price graph for Dashboard

GET https://apis.cubeapi.io/v1/block-chains/chart/{assetId}

Exposing market data 2 hours ago at the current time - 5 minute interval

Path Parameters

Name
Type
Description

assetId*

asset id

Search - Gas price

GET https://apis.cubeapi.io/v1/block-chains/{chainId}/gas-price

Path Parameters

Name
Type
Description

chainId*

Int

chain id managed by wallet server

Search - Asset market price

GET https://apis.cubeapi.io/v1/block-chains/exchange-quote/{assetId}

Path Parameters

Name
Type
Description

assetId*

Int

asset id

Search - List of exchanges base on major asset by chain

GET https://apis.cubeapi.io/v1//block-chains/major-asset/exchanges

listedExchange.listedExchangeUrl is the pair Url for that token

exchangeSymbolImg1 -> color exchangeSymbolImg2 -> black-and-white

Search - CUBE infomation

GET https://apis.cubeapi.io/v1/block-chains/cube-info

Market price increase and decrease rate - day interval

Search - FNCY infomation

GET https://apis.cubeapi.io/v1/block-chains/fncy-info

Market price increase and decrease rate - day interval

Search - Blockchain asset UI button feature list

GET https://apis.cubeapi.io/v1//block-chains/assets/{assetId}/buttons

Asset Button Type

Asset Button Features

Path Parameters

Name
Type
Description

assetId*

Int

asset id

Check - Address validity

GET https://apis.cubeapi.io/v1/block-chains/{chainId}/address/{address}/valid

Validate that the address is a valid address on the blockchain

EVM

42-digit string beginning with 0x

EVM address generation rules must be met.

Path Parameters

Name
Type
Description

chainId*

Int

chain id managed by wallet server

address*

String

wallet address