essentiaone / essentia-bridges-api-ios Goto Github PK
View Code? Open in Web Editor NEWBridges API wrapper for iOS application.
License: MIT License
Bridges API wrapper for iOS application.
License: MIT License
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?
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
}
"
"❗️ error(EssentiaNetworkCore.ErrorMessage(error: "Can\'t find working node"))"
let serverUrl = "<URL from step 1>"
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 :)
Hi Team,
When i use the api getTransactionsHistory, it always return "unknownError", and I found the log says that ""Essentia
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)")
}})
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.