Giter Club home page Giter Club logo

essentia-bridges-api-ios's People

Contributors

impul avatar kozlov-oleksandr avatar synchuk2010 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

essentia-bridges-api-ios's Issues

EtherScanInfo should have a public initializer

Hi Team,
when I use this pod library, the default initializer is not work for etherscaninfo, the error message is "'EtherScanInfo' initializer is inaccessible due to 'internal' protection level". so I think it should be have a public initializer for this class.
this code seems works:

public struct EtherScanInfo {
 public init(url: String, apiKey: String) {
     self.url = url
     self.apiKey = apiKey
 }
 public let url: String
 public let apiKey: String
}

This error occurs frequently

"⚠️ 未能读取数据,因为数据缺失。"
"❗️ error(EssentiaNetworkCore.ErrorMessage(error: "Can\'t find working node"))"

another issue about transcation

Hi impul, need help again.
when send transaction, the response is

sendEthTransaction,value=10000000000000000,from address=0x927244ea76dd2d7c42f85efb86a9333cd2f39a67,toaddress=0xf3cb87c75f7b16c569154da1eec37e40b9aa3b1c, gasprice=3000000000, gaslimit=21000,nonce=6
"🌏 curl https://b3.essentia.network/api/v1/ethereum/wallets/transactions \\\n\t-X POST \\\n\t-H \'Content-Type: application/json\' \\\n\t-d \'{\n  \"data\" : \"0xf86c0684b2d05e0082520894f3cb87c75f7b16c569154da1eec37e40b9aa3b1c872386f26fc1000082307826a0ba350d7ce9ec2d512789f8e08af1375990fa304f73c7fcec29fda4b11dfa26a9a07d32997e314eca6d76abbe263227a8c5ee25469cf4dc8094878df6b810075a3a\"\n}\'"
"⚠️ The data couldn’t be read because it is missing."
"❗️ error(EssentiaNetworkCore.ErrorMessage(error: \"insufficient funds for gas * price + value\"))"

but I think there is enough fund in my account. gas*price+value is less than the balance in my account.

or do you have telegram account? may I add your IM account?

help about eth transaction issue

Hello, impul, It's me again, Thanks for you patient.
here's another issue found when I send the transaction, I need to get the gas estimate first, but return error.

"Essentia🌏 curl https://b3.essentia.network/api/v1/ethereum/gas/estimate \\\n\t-X POST \\\n\t-H \'Content-Type: application/json\' \\\n\t-d \'{\n  \"data\" : \"\",\n  \"from\" : \"0x927244ea76dd2d7c42f85efb86a9333cd2f39a67\",\n  \"to\" : \"0xf3cb87c75f7b16c569154da1eec37e40b9aa3b1c\"\n}\'"

When I use the post man to do the direct visist.

https://b3.essentia.network/api/v1/ethereum/gas/estimate

POST

{"data":"","from":"0x927244ea76dd2d7c42f85efb86a9333cd2f39a67","to":"0xf3cb87c75f7b16c569154da1eec37e40b9aa3b1c"}

the response is 502, so how can I debug or fix this? thanks :)

help about btc getTransactionsHistory issue

Hi Team,
When i use the api getTransactionsHistory, it always return "unknownError", and I found the log says that ""Essentia⚠️ The data couldn’t be read because it is missing." But when I visit the url directly in browser, it returns the correct data. any suggestion to fix this?
The code is quite simple as belows

     bitcoinWallet.getTransactionsHistory(for: self._address, result: { result in
         switch result {
         case let .success(txHistory):
             //let txs: BitcoinTransactionsHistory.
             ewLogger.debug("[BTC][TxHistory]\(txHistory)")
         case let.failure(error):
             ewLogger.error("[BTC] get history error, \(error)")
         }})

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.