Skip to content

Commit

Permalink
DOC -- Use base64 cadence
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyDoyle committed Sep 1, 2022
1 parent 50716fa commit 5cd89b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/interaction-templates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Flow operates an "Interaction Template Discovery Service" which wallets can use
const cadence = cadenceFromTransactionToSign
const network = "mainnet" // "mainnet" | "testnet"

const cadence_base64 = await btoa(cadence)
const cadence_base64 = btoa(cadence)

const interactionTemplate = await fetch(
"https://flix.flow.com/v1/templates/search",
Expand Down

0 comments on commit 5cd89b3

Please sign in to comment.