@@ -24,15 +31,22 @@ export function InstructionCard({
{title}
-
-
- {errorString}
-
-
+
+
- {children}
+
+ {showRaw ? : children}
+
diff --git a/explorer/src/components/instruction/NonceAdvanceDetailsCard.tsx b/explorer/src/components/instruction/NonceAdvanceDetailsCard.tsx
new file mode 100644
index 0000000000..3d7404eb37
--- /dev/null
+++ b/explorer/src/components/instruction/NonceAdvanceDetailsCard.tsx
@@ -0,0 +1,83 @@
+import React from "react";
+import {
+ TransactionInstruction,
+ SystemProgram,
+ SignatureResult,
+ SystemInstruction
+} from "@solana/web3.js";
+import { displayAddress } from "utils/tx";
+import { InstructionCard } from "./InstructionCard";
+import Copyable from "components/Copyable";
+import { UnknownDetailsCard } from "./UnknownDetailsCard";
+
+export function NonceAdvanceDetailsCard(props: {
+ ix: TransactionInstruction;
+ index: number;
+ result: SignatureResult;
+}) {
+ const { ix, index, result } = props;
+
+ let params;
+ try {
+ params = SystemInstruction.decodeNonceAdvance(ix);
+ } catch (err) {
+ console.error(err);
+ return