Comments (4)
@timbotro what endpoint are you talking to here? Is this a local instance or a remote node? i.e. what is the wss
URL?
from interbtc.
@gregdhill this is production: wss://api-kusama.interlay.io/parachain
from interbtc.
I believe this is an issue with polkadot-js/apps
itself, note that the following call is successful over the HTTP RPC:
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "vaultRegistry_getCollateralizationFromVault", "params": [{"account_id": "$ACCOUNT_ID", "currencies": {"collateral": {"Token": "KSM"}, "wrapped": {"Token": "KBTC"}}}, false]}' http://localhost:9933/
The error occurs when using lowercase "token" instead of "Token". Even our deprecated interbtc-types
definitions use the correct casing.
from interbtc.
The RPC endpoints in question are listed here, which gets printed everytime i connect to the WSS:
2022-05-28 16:32:45 API/INIT: RPC methods not decorated: btcRelay_verifyBlockHeaderInclusion, issue_getIssueRequests, issue_getVaultIssueRequests, oracle_collateralToWrapped, oracle_wrappedToCollateral, redeem_getRedeemRequests, redeem_getVaultRedeemRequests, refund_getRefundRequests, refund_getRefundRequestsByIssueId, refund_getVaultRefundRequests, relay_isTransactionInvalid, replace_getNewVaultReplaceRequests, replace_getOldVaultReplaceRequests, vaultRegistry_getCollateralizationFromVault, vaultRegistry_getCollateralizationFromVaultAndCollateral, vaultRegistry_getIssueableTokensFromVault, vaultRegistry_getPremiumRedeemVaults, vaultRegistry_getRequiredCollateralForVault, vaultRegistry_getRequiredCollateralForWrapped, vaultRegistry_getVaultCollateral, vaultRegistry_getVaultTotalCollateral, vaultRegistry_getVaultsByAccountId, vaultRegistry_getVaultsWithIssuableTokens, vaultRegistry_getVaultsWithRedeemableTokens
Which may be an indicator no?
from interbtc.
Related Issues (20)
- Allow sending of arbitrary xcm messages
- Add support for `rust-bitcoin` in ink! smart contracts HOT 4
- Runtime for testing Bitcoin smart contracts HOT 1
- Add EVM precompiles
- upgrade to polkadot v1.0.0 HOT 2
- Parachain peers HOT 1
- qToken Vaults
- EVM Compatibility
- Rust smart contracts via ink! and the contract pallet
- Remove griefing collateral from mandatory replace request HOT 1
- Benchmarking for sudo pallet
- Usage of longest-chain instead of most-work HOT 2
- Add XCM Test
- Set the max PoV size
- Add update_inflation extrinsic in supply pallet HOT 1
- InsufficientVaultCollateralAmount error when trying to withdraw an amount takes the vault below MinimumCollateral HOT 1
- Version number displayed is wrong HOT 1
- Building raw spec for interlay-dev
- Supply inflation hook is wrong
- Build error at `crates/bitcoin`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interbtc.