Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit fb8fb37

Browse files
authored
Update script-composer.mdx
1 parent 9197b9c commit fb8fb37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/nextra/pages/en/build/sdks/ts-sdk/building-transactions/script-composer.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const transaction = await aptos.transaction.build.scriptComposer({
2727
// invoke 0x1::coin::withdraw. This function would return a value of a `coin` type.
2828
const coin = await builder.addBatchedCalls({
2929
function: "0x1::coin::withdraw",
30-
functionArguments: [CallArgument.new_signer(0), 1],
30+
functionArguments: [CallArgument.newSigner(0), 1],
3131
typeArguments: ["0x1::aptos_coin::AptosCoin"],
3232
});
3333

0 commit comments

Comments
 (0)