# @paraspell/pallets

> Pallets for ParaSpell XCM/XCMP tool for developers

Latest version **14.3.4** (published 2026-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @paraspell/pallets
pnpm add @paraspell/pallets
yarn add @paraspell/pallets
bun add @paraspell/pallets
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 14.3.4 |
| Published | 2026-09-07 |
| First published | 2025-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 33.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 58 |
| Maintainers | dudo50 |

## Links

- npm: https://www.npmjs.com/package/@paraspell/pallets
- Repository: https://github.com/paraspell/xcm-tools
- npm.io page: https://npm.io/package/@paraspell/pallets

## Dependencies (1)

- [@paraspell/sdk-common](https://npm.io/package/@paraspell/sdk-common.md) 14.3.4

## Recent versions

- 14.3.4 (latest) — 2026-09-07
- 14.1.0-rc.1 (rc) — 2026-07-30
- 11.14.13 (legacy) — 2026-01-13
- 14.3.3 — 2026-09-02
- 14.3.0 — 2026-08-31
- 14.2.2 — 2026-08-21
- 14.2.1 — 2026-08-21
- 14.2.0 — 2026-08-19
- 14.1.1 — 2026-08-07
- 14.1.0 — 2026-07-31
- 13.11.1 — 2026-07-31
- 14.1.0-rc — 2026-07-22
- 14.0.0 — 2026-07-20
- 13.11.0 — 2026-07-07
- 13.10.1 — 2026-07-03
- … 219 more at https://npm.io/package/@paraspell/pallets/versions

## README

<br /><br />

<div align="center">
  <h1 align="center">@paraspell/pallets</h1>
  <h4 align="center"> Pallet queries for Polkadot, Kusama, Paseo and Westend ecosystems. </h4>
  <p align="center">
    <a href="https://npmjs.com/package/@paraspell/pallets">
      <img alt="version" src="https://img.shields.io/npm/v/@paraspell/pallets?style=flat-square" />
    </a>
    <a href="https://npmjs.com/package/@paraspell/pallets">
      <img alt="downloads" src="https://img.shields.io/npm/dm/@paraspell/pallets?style=flat-square" />
    </a>
    <a href="https://github.com/paraspell/xcm-sdk/actions">
      <img alt="build" src="https://github.com/paraspell/xcm-sdk/actions/workflows/release.yml/badge.svg" />
    </a>
  </p>
</div>

<br /><br />
<br /><br />

## Information

This package serves as a `core` component for both `@paraspell/sdk` and `@paraspell/sdk-pjs` and is `automatically` installed as a `dependency`. The package on its own offers functionality that can be imported separately and be used in front-end applications. It allows developers to query the `XCM pallets` that Parachains currently support. 

## Implementation

### Install package

```bash
npm install | pnpm add | yarn add @paraspell/pallets
```

### Import functionality

To use this functionality you first have to import it in the following way.
```ts
import { getDefaultPallet, getSupportedPallets, getPalletIndex, SUPPORTED_PALLETS, getNativeAssetsPallet, getOtherAssetsPallets } from  '@paraspell/pallets'
```

### Get default XCM pallet

The function returns the default XCM pallet for selected compatible Parachain.
```ts
getDefaultPallet(chain: TChain)
```

### Get all supported XCM pallets

The function returns all supported XCM pallets for selected compatible Parachain.
```ts
getSupportedPallets(chain: TChain)
```

### Get index of XCM Pallet

The function returns all index of XCM Pallet for selected Parachain.
```ts
getPalletIndex(chain: TChain)
```

### Print all supported XCM pallets

This returns all supported XCM pallets supported by compatible Parachains as constant.
```ts
console.log(SUPPORTED_PALLETS)
```


### Print local pallets for native assets

Following function returns all pallets for local transfers of native assets for specific chain.
```ts
getNativeAssetsPallet(chain: TChain)
```

### Print local pallets for foreign assets

Following function returns all pallets for local transfers of foreign assets for specific chain.
```ts
getOtherAssetsPallets(chain: TChain)
```

## 💻 Tests

- Run compilation using `pnpm compile`

- Run linter using `pnpm lint`

- Run unit tests using `pnpm test`

- Update XCM pallets in the map using script - `pnpm updatePallets`

> [!NOTE]
> Pallet queries can be tested in [XCM Playground](https://github.com/paraspell/xcm-tools/tree/main/apps/playground).

## Contribute to XCM Tools and earn rewards 💰

We run an open Bug Bounty Program that rewards contributors for reporting and fixing bugs in the project. More information on bug bounty can be found in the [official documentation](https://paraspell.github.io/docs/contribution-guidelines.html).

## Get Support 🚑

- Contact form on our [landing page](https://paraspell.xyz/#contact-us).
- Message us on our [X](https://x.com/paraspell).
- Support channel on [telegram](https://t.me/paraspell).

## License

Made with 💛 by [ParaSpell✨](https://paraspell.xyz/)

Published under [MIT License](https://playground.paraspell.xyz/xcm-sdk/pallets).

## Supported by

<p align="center">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://github.com/paraspell/presskit/blob/main/logos_supporters/polkadot_kusama_transparent.png">
      <source media="(prefers-color-scheme: light)" srcset="https://github.com/paraspell/presskit/blob/main/logos_supporters/polkadot_kusama_w3f_standard.png">
      <img width="750" alt="Shows a black logo in light color mode and a white one in dark color mode." src="https://github.com/paraspell/presskit/blob/main/logos_supporters/polkadot_kusama_w3f_standard.png">
    </picture>
</p>

---
_Source: https://npm.io/package/@paraspell/pallets · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
