FNCY 2.0 (ENG)
Search
K
Comment on page

Transaction API

Transaction API
AUTHORIZATION - Bearer Token
This folder is using Bearer Token
-------------------------------------------------------------------------------------------------

◾ Domain Code

TX Status

txStDcd
txSt
1007001
Pending
1007002
Success
1007003
Failed

Signature Type

SignatureType
desc
SIGNATURE_TYPE_FOR_ASSET_TRANSFER
General asset transfer(native coin, token, nft) asset id is required for native coin and token transfer nft id is required for nft transfer
SIGNATURE_TYPE_FOR_SMARTCONTRACT_EXECUTION
Using when running SmartContracts, must enter a contract address in transferTo, contractAddress * TX from the maket required contractAddress, txInput * nft transfer for wallet -> game required contractAddress, transferMethod, nftId
SIGNATURE_TYPE_FOR_WALLETCONNECT
Using when Wallet Contract

Transfer Method

Method
desc
gameNftLock
nft transfer for wallet -> game required transferMethod, nftid

GET

---------------------------------------------------------------------------------------------------
get
https://apis.cubeapi.io
/v1/wallets/{wid}/assets/transfers/recent
Search - Recent withdrawal list
get
https://apis.cubeapi.io
/v1/wallets/{wid}/assets/transfers
Search - ERC20 asset transfer history list
get
https://apis.cubeapi.io
/v1/wallets/{wid}/assets/transfers/{transferSeq}
Search - ERC20 asset transfer history detail V1
get
https://apis.cubeapi.io
/v2/wallets/{wid}/assets/transfers/{historySeq}
Search - ERC20 asset transfer history detail V2

POST

---------------------------------------------------------------------------------------------------
post
https://apis.cubeapi.io
/v1/transfers/estimate
Check - Transfer Ticket V1
post
https://apis.cubeapi.io
/v2/transfers/estimate
Check - Transfer Ticket V2
post
https://apis.cubeapi.io
/v1/transfers/tickets
Create - Transfer Ticket V1
post
https://apis.cubeapi.io
/v2/transfers/tickets
Create - Transfer Ticket V2
post
https://apis.cubeapi.io
/v2/transfers/tickets/:ticketUuid
Transfer - Transaction V2