As I'm new to substrate and polkadot I don't know how to transfer assets from parachain to relay chain using xcm can anyone please help me to do this.


1 Answer 1


We built a library to abstract a lot of the difficulties for users to build extrinsics for sending xcm across any type of chain.

The lib is called asset-transfer-api. Here is an example of how an extrinsic would be built from a parachain to a relay chain.

The docs can be very helpful as well.

Here is an example of constructing, signing and sending an extrinsic using asset-transfer-api as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.