# @moonbeam-network/xcm-builder

Builders for low-level transaction components used in the Moonbeam XCM SDK and MRL SDK.

## Package Information

**NPM Package:** [https://www.npmjs.com/package/@moonbeam-network/xcm-builder](https://www.npmjs.com/package/@moonbeam-network/xcm-builder)

**Package Level:** Level 3  
**Depends on:** `@moonbeam-network/xcm-utils`, `@moonbeam-network/xcm-types`

## Features

This package provides builders for:

- **Extrinsics** - Construction of blockchain transactions
- **Contract calls** - Smart contract interaction helpers
- **Balance retrieval** - Query account balances
- **Fee calculation** - Estimate transaction costs
- **Other low-level transaction helpers** - Various utilities for transaction construction

## Documentation

### v4 (current)

#### Usage

- [XCM SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/example-usage/xcm)
- [MRL SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/example-usage/mrl)

#### References

- [XCM SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/reference/xcm)
- [MRL SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/reference/mrl)

### v3 (previous)

#### Usage

- [XCM SDK](https://moonbeam-foundation.github.io/xcm-sdk/v3/example-usage/xcm)
- [MRL SDK](https://moonbeam-foundation.github.io/xcm-sdk/v3/example-usage/mrl)

#### References

- [XCM SDK](https://moonbeam-foundation.github.io/xcm-sdk/v3/reference/xcm)
- [MRL SDK](https://moonbeam-foundation.github.io/xcm-sdk/v3/reference/mrl)