Methods
BlockChains
suspend fun getBlockChainInfo()
Description
Retrieves the chain information using the Chain ID.
Parameters
Result
Result<
FncyChainInfo
>
suspend fun getContractInfo()
Description
Retrieves asset information using the Contract Address.
Parameters
Result
Result<List<
FncyAssetInfo
>?>
suspend fun getFncyInfo()
Description
Retrieves Fncy Chain information.
Result
Result<
FncyCurrency
?>
suspend fun getGasPrice()
Description
Retrieves Gas Price of the Chain.
Parameters
Result
Result<
FncyGasPrice
>
Wallet
suspend fun getWallet()
Description
Search user wallet
Result
Result<
FncyWallet
?>
suspend fun getWalletAllBalance()
Description
Retrieves the amount of assets in the wallet.
Parameters
Result
Result<
FncyBalance
>
suspend fun getAssetList()
Description
Retrieves the list of assets in the wallet (Fncy, Eth, Bsc, etc.).
Parameters
Result
Result<
PagingData
<List<
FncyAsset
>?>>
suspend fun getAssetById()
Description
Retrieves the asset information for the wallet using the Asset ID.
Parameters
Result
Result<
FncyAsset
?>
suspend fun getNFTList()
Description
Retrieves the list of NFTs in the wallet.
Parameters
Result
Result<
PagingData
<List<
FncyNFT
>?>>
suspend fun getNFTById()
Description
Retrieves NFT unit information using nftId.
Parameters
Result
Result<FncyNFT?>
suspend fun makeWallet()
Description
Calls when requesting wallet creation.
Parameters
Result
Result<Unit>
suspend fun getQuestionList()
Description
Retrieves a list of questions for wallet restoration.
Result
Result<
PagingData
<List<
FncyQuestion
>?>>
suspend fun postRegisterRestorationKey()
Description
Registers the wallet's restore key (wallet recovery question/answer).
Parameters
Result
Result<Unit>
suspend fun checkWalletPinNumber()
Description
Checks the wallet password.
parameters
Result
Result<Unit>
suspend fun checkResetAnswer()
Description
Checks the answers to the backup questions.
Parameters
Result
Result<Unit>
suspend fun resetWalletPinNumber()
Description
Stores the new password for the wallet.
Parameters
Result
Result<Unit>
suspend fun getResetQuestion()
Description
Retrieves the backup questions that users have registered for.
Result
Result<
FncyQuestion
>
suspend fun postResetQuestion()
Description
Saves the answers to the backup questions that the user registered for, as well as the new pin number.
Parameters
Result
Result<Unit>
suspend fun postResetPinNumber()
Description
Changes to the new password.
Parameters
Result
Result<Unit>
Transaction
suspend fun estimateTicket()
Description
Before creating a transfer ticket, it checks for transfer availability, nonce, gasLimit, etc.
Parameter
Chain ID
TicketType
Result
Result<
FncyTicket
>
suspend fun makeTicket()
Description
Creates a transfer ticket.
Parameters
Result
Result<
FncyTransactionTicket
>
suspend fun getTicketInfo()
Description
Search ticket status
Parameters
Result
Result<
FncyTicket
>
suspend fun sendTicket()
Description
Executes a ticket (transaction).
Parameters
Result
Result<String>
suspend fun getTransferHistoryList()
Description
Searchs a list of transactions in the wallet.
Parameters
Result
Result<
PagingData
<List<
FncyTransaction
>?>>
suspend fun getTransferHistoryDetail()
Description
Searches single transaction information.
Parameters
Result
Result<
FncyTransaction
?>
ETC
suspend fun postWalletSign()
Description
Wallet Sign.
Parameters
Result
Result<String>
Last updated