Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Aug 30, 2023
1 parent 2d974c9 commit 83c0681
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindings/nodejs/examples/how_tos/native_tokens/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ async function run() {
foundryMetadata: utf8ToHex('Hello, World!'),
};

const transaction = await account.createNativeToken(params);
const prepared = await account.prepareCreateNativeToken(params);
const transaction = await prepared.send();

console.log(`Transaction sent: ${transaction.transactionId}`);

Expand Down

0 comments on commit 83c0681

Please sign in to comment.