Skip to content

Commit

Permalink
Solver display on Transaction Details
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Sep 27, 2024
1 parent 34040b4 commit 97a745f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/web/src/components/record-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,15 @@ export default function RecordDetail(props: Props) {
<span className="text-sm font-medium text-white">{record.historyRecordById.nonce}</span>
) : null}
</Item>
<Item label="Solver">
{record?.historyRecordById?.relayer ? (
<PrettyAddress
address={record.historyRecordById.relayer}
className="text-primary text-sm font-medium"
copyable
/>
) : null}
</Item>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/config/gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const GQL_HISTORY_RECORD_BY_ID = gql`
recvToken
sendTokenAddress
recvTokenAddress
relayer
}
}
`;
Expand Down

0 comments on commit 97a745f

Please sign in to comment.