Skip to content

Commit

Permalink
Temporarily query only tx Bank Send
Browse files Browse the repository at this point in the history
  • Loading branch information
abefernan committed Oct 2, 2024
1 parent 526c67a commit 7774bcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/txs-data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ export default function TxsData() {
const { isPending, error, data } = useQuery({
queryKey: ["txs"],
queryFn: () =>
fetch("http://localhost:4000/api/v1/txs").then((res) => res.json()),
fetch(
`http://localhost:4000/api/v1/txs?operationName=execute_tx&tags=${encodeURIComponent('{"tx":"*Bank(Send*"}')}`,
).then((res) => res.json()),
});

if (isPending) return "Loading...";
Expand Down

0 comments on commit 7774bcc

Please sign in to comment.