From 3ff9432aa394e1808eeef90fef2e57a8ba4e63d3 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 9 Jan 2024 18:42:49 +0100 Subject: [PATCH] fix: UNQ xtokens.transfer --- .../repositories/implementations/xcm/UniqueXcmRepository.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v2/repositories/implementations/xcm/UniqueXcmRepository.ts b/src/v2/repositories/implementations/xcm/UniqueXcmRepository.ts index 3c16579f1..4877f8222 100644 --- a/src/v2/repositories/implementations/xcm/UniqueXcmRepository.ts +++ b/src/v2/repositories/implementations/xcm/UniqueXcmRepository.ts @@ -31,7 +31,7 @@ export class UniqueXcmRepository extends XcmRepository { throw 'Token must be UNQ'; } - const tokenData = { NativeAssetId: 'Here' }; + const unqCollectionId = 0; const destination = { V2: { @@ -61,7 +61,7 @@ export class UniqueXcmRepository extends XcmRepository { endpoint, 'xTokens', 'transfer', - tokenData, + unqCollectionId, amount, destination, destWeight