From b8a24d32ae82cdc0d3fbac5bedc57d205bbaaaae Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 20 Feb 2024 12:49:23 +0200 Subject: [PATCH] Add custom transfer for polkadot --- src/components/transfer/configs/same-chain.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/transfer/configs/same-chain.ts b/src/components/transfer/configs/same-chain.ts index 6142c4a..f6b0834 100644 --- a/src/components/transfer/configs/same-chain.ts +++ b/src/components/transfer/configs/same-chain.ts @@ -21,6 +21,12 @@ const customSameChainTransferConfig: { return [ data.recipient, data.amount ] }, }, + [getCustomTransferParamId('DOT', 'polkadot')]: { + extrinsic: 'balances.transferAllowDeath', + getParams: (data) => { + return [ data.recipient, data.amount ] + }, + }, [getCustomTransferParamId('MGX', 'mangata')]: { extrinsic: 'tokens.transfer', getParams: (data) => {