diff --git a/navigation/SendDetailsStackParamList.ts b/navigation/SendDetailsStackParamList.ts
index 3c55ac788..d387b9f76 100644
--- a/navigation/SendDetailsStackParamList.ts
+++ b/navigation/SendDetailsStackParamList.ts
@@ -60,6 +60,7 @@ export type SendDetailsStackParamList = {
Success: {
fee: number;
amount: number;
+ txid?: string;
};
SelectWallet: {
onWalletSelect: (wallet: TWallet) => void;
diff --git a/screen/send/Confirm.tsx b/screen/send/Confirm.tsx
index a0e910eb9..0a80c82b2 100644
--- a/screen/send/Confirm.tsx
+++ b/screen/send/Confirm.tsx
@@ -211,6 +211,7 @@ const Confirm: React.FC = () => {
navigate('Success', {
fee: Number(fee),
amount,
+ txid,
});
dispatch({ type: ActionType.SET_LOADING, payload: false });
diff --git a/screen/send/success.js b/screen/send/success.js
index 9c2e150ad..4840d9944 100644
--- a/screen/send/success.js
+++ b/screen/send/success.js
@@ -12,6 +12,7 @@ import SafeArea from '../../components/SafeArea';
import { useTheme } from '../../components/themes';
import loc from '../../loc';
import { BitcoinUnit } from '../../models/bitcoinUnits';
+import HandOffComponent from '../../components/HandOffComponent';
const Success = () => {
const pop = () => {
@@ -19,7 +20,7 @@ const Success = () => {
};
const { colors } = useTheme();
const { getParent } = useNavigation();
- const { amount, fee, amountUnit = BitcoinUnit.BTC, invoiceDescription = '', onDonePressed = pop } = useRoute().params;
+ const { amount, fee, amountUnit = BitcoinUnit.BTC, invoiceDescription = '', onDonePressed = pop, txid } = useRoute().params;
const stylesHook = StyleSheet.create({
root: {
backgroundColor: colors.elevated,
@@ -47,6 +48,13 @@ const Success = () => {
+ {txid && (
+
+ )}
);
};