Comments (7)
Hey @silasbw, the reason why we are using the different naming of the field is the SDK being a first-class citizen for us now. We are and will be integrating multiple different sources for data and unifying them inside the SDK. It means that the SDK DTOs might look different than the API responses, which is perfectly correct. If you choose to use the API for this integration, you are of course free to do it. It's just the SDK which has different format.
from tatum-js.
We're using the SDK, so is your recommendation we do, like:
// The SDK types don't match the actual shape returned by the REST API:
// The REST API returns NftTokenDetail.type (not NftTokenDetail.tokenType)
// @ts-ignore
const tokenType = response.data[0].type
from tatum-js.
O I see, Thats something else. @Hathoriel, @hehe100596 or @alexloiko can you guys check this out pls?
from tatum-js.
Probably some typo during refactoring…
from tatum-js.
Hello yes @samuelsramko I will look on it.
Thanks for finding the issue @silasbw
from tatum-js.
👋 Hello @silasbw
The issue should be fixed in the version 3.1.7.
Hope this helps!
Have a nice day.
from tatum-js.
Thanks @Hathoriel 🙌
from tatum-js.
Related Issues (20)
- ✨ [Feature] Add RPC Support for Celo ✨
- ✨ [Feature] Add RPC Support for Beacon chain on Ethereum ✨
- ✨ [Feature] Add RPC Support for BNB ✨
- ✨ [Feature] Add RPC Support for Tezos ✨ HOT 1
- ✨ [Feature] Add RPC Support for Algorand ✨
- ✨ [Feature] Add RPC Support for Cardano ✨
- ✨ [Feature] Add RPC Support for XinFin ✨
- getAccountInfo for solana didn't handle uin64 correctly HOT 6
- ✨ [Feature] Add RPC Support for Stellar ✨
- notification.subscribe for Network.ETHEREUM_GOERLI does not append `testnetType=` query param HOT 2
- getTransactions() wrong type definition for transactionTypes HOT 3
- transactionType(s) used in multiple places with different values HOT 2
- Filter by tokenAddress in getTransactions() HOT 2
- TypeError with prepareTransferFromCustodialWallet Function When Sending ERC20 Tokens from Precalculated Gas Pump Addres
- Cannot read properties of undefined (reading 'use') HOT 3
- Issue #1082 is still not solved HOT 2
- Separation between creating, signing and broadcasting TXs
- TypeError: Body is unusable
- ✨ [Feature] Add RPC Support for BLAST ✨ HOT 1
- ✨ [data-api.transactions] Unable to get transactions on chain polygon-amoy. ✨ HOT 2
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 tatum-js.