🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@polkadot/api

Package Overview
Dependencies
Maintainers
2
Versions
3307
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/api - npm Package Versions

2345
331

16.0.1

Diff
polkadotjs
published 16.0.1 •

Changelog

Source

16.0.1 May 19, 2025

Breaking Changes:

  • With the upgrade to Metadata v16, several fields have been removed or replaced. The following fields no longer exist in the updated metadata definitions:
    • type: This field has been completely removed in Metadata.
    • version: Previously part of ExtrinsicMetadata. Replaced by versions, which now holds an array Vec<u8> of supported extrinsic versions instead of a single value.
    • extraType: This field has been completely removed in ExtrinsicMetadata.
    • signedExtensions: Previously part of ExtrinsicMetadata. Replaced by transactionExtensions, which provides a more structured definition of extensions, and transactionExtensionsByVersion, mapping versions to active extensions.

Changes:

  • Metadata v16 (#6130)
  • Add dryRunApi v2 definition (#6144)
  • Add type augmentation for AssetHub (#6148)
  • Upgrade polkadot/common to 13.5.1 (#6150)
polkadotjs
published 15.10.2 •

Changelog

Source

15.10.2 May 13, 2025

Changes:

  • Fix StagingXcmV5Junctions generation (#6145)
polkadotjs
published 15.10.1 •

Changelog

Source

15.10.1 May 13, 2025

Changes:

  • Update Substrate types for polkadot-sdk v2503-2-rc1 (#6137)
  • Upgrade Kusama types to 1.5.0 (#6139)
  • Upgrade Polkadot types to 1.5.0 (#6140)
  • Improve Xcm V5 support (#6142)
polkadotjs
published 15.9.3 •

Changelog

Source

15.9.3 May 6, 2025

Contributed:

  • Throws detailed error information (#6116)
polkadotjs
published 15.9.2 •

Changelog

Source

15.9.2 Apr 15, 2025

Changes:

  • Enhance property access validation in Struct decoding (#6126)
  • Improve type registry known defaults implementation to a Map (#6127)
  • bump polkadot/common to 13.4.4 (#6128)
polkadotjs
published 15.9.1 •

Changelog

Source

15.9.1 Mar 27, 2025

Changes:

  • Fix signAsync() docs (#6121)
  • Make TTL configurable on WsProvider & HttpProvider (#6123)
polkadotjs
published 15.8.1 •

Changelog

Source

15.8.1 Mar 10, 2025

Changes:

  • Add derives to obtain Extrinsic Information (#6113)
polkadotjs
published 15.7.2 •

Changelog

Source

15.7.2 Mar 3, 2025

Changes:

  • Update asset-hub type-support metadata files for v1.4.0 (#6105)
  • Document available Api Derives (#6106)
  • Fix derives base path in typegen (#6107)
polkadotjs
published 15.7.1 •

Changelog

Source

15.7.1 Feb 25, 2025

Changes:

  • Upgrade Kusama types to 1.4.0 (#6098)
  • Api-Derives documentation generator (#6099)
  • Upgrade Polkadot types to v1.4.0 (#6100)
  • Add WeightReclaim transaction extension to known extensions (#6102)
  • Add westend code upgrades (#6103 )
polkadotjs
published 15.6.1 •

Changelog

Source

15.6.1 Feb 17, 2025

Changes:

  • Log Http/Ws request on error #6091
  • Only identify Struct as empty when it has no keys. #6092
  • Check for api.query.identity in getSubIdentities #6093
  • Upgrade common to 13.4.3 #6095