Phantasma SDKs add the lightweight account endpoints
The latest SDK releases add clients for the new single and batch account endpoints, mark the heavy account calls deprecated, document the accepted page size range, and bring the Unity SDK in line on gas model v2 fee estimation.
- Published latest versions:
phantasma-sdk-ts 0.16.0,phantasma-sdk-py 2.7.0,phantasma-sdk 1.7.0(Rust),phantasma-sdk-go 0.16.0,PhantasmaPhoenix.RPC 0.13.0, andPhantasmaPhoenix.NFT 0.7.10. - Every SDK adds a client for
getAccountInfo, which reads an account's name and staking information without pulling balances or full NFT identifier lists along with them. - Every SDK also adds a client for
getAccountInfos, so an application can read up to 100 accounts in a single call instead of one call per address. getAccount,getAccounts, andgetTokenDataare marked deprecated in the SDKs, with the replacement named at the call site, so the compiler or editor points to it while you migrate.- Cursor-paginated methods now document the accepted
pageSizerange that the nodes enforce. - The Unity SDK adds
getGasConfigandestimateTransactionclients and moves its core package to0.10.0, bringing it in line with the gas model v2 fee estimation already available in the other SDKs. - The C++ SDK received the same additions in its source repository.
phantasma-sdk-ts | phantasma-sdk-py | phantasma-sdk | phantasma-sdk-go | PhantasmaPhoenix.RPC | PhantasmaPhoenix.NFT | phantasma-sdk-cpp | phantasma-sdk-unity
npm update --save phantasma-sdk-tspip install --upgrade phantasma-sdk-pycargo update -p phantasma-sdkgo get -u github.com/phantasma-io/phantasma-sdk-godotnet package update PhantasmaPhoenix.RPCdotnet package update PhantasmaPhoenix.NFT