Skip to content

Commit

Permalink
DOCS -[root] Update scripts links
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Santos authored and justinbarry committed May 26, 2022
1 parent 9870865 commit 25bf824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/transactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Transactions let you send Cadence code to the Flow blockchain that permanently a

We are assuming you have read the [Scripts Documentation](https://docs.onflow.org/fcl/reference/scripts/) before this, as transactions are sort of scripts with more required things.

While `query` is used for sending scripts to the chain, `mutate` is used for building and sending transactions. Just like [scripts](../reference/scripts), `fcl.mutate` is a [JavaScript Tagged Template Literal](https://styled-components.com/docs/advanced#tagged-template-literals) that we can pass Cadence code into.
While `query` is used for sending scripts to the chain, `mutate` is used for building and sending transactions. Just like [scripts](https://docs.onflow.org/fcl/reference/scripts/), `fcl.mutate` is a [JavaScript Tagged Template Literal](https://styled-components.com/docs/advanced#tagged-template-literals) that we can pass Cadence code into.

Unlike scripts, they require a little more information, things like a proposer, authorizations and a payer, which may be a little confusing and overwhelming.

Expand Down Expand Up @@ -74,4 +74,4 @@ const transaction = await fcl.tx(transactionId).onceSealed()
console.log(transaction) // The transactions status and events after being sealed
```

To learn more about `mutate`, check out the [API documentation](./api/#mutate).
To learn more about `mutate`, check out the [API documentation](./api/#mutate).

0 comments on commit 25bf824

Please sign in to comment.