Skip to content

Commit

Permalink
Update docs/build/smart-contract/basic-concepts/functions-parameters.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Modship <[email protected]>
  • Loading branch information
peterjah and modship authored Oct 10, 2024
1 parent 187b50e commit c7baab2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function hello(argsData: StaticArray<u8>): StaticArray<u8> {
- stringToBytes() converts the string message into a `StaticArray<u8>` so that it can be returned in the expected format.


#### Calling the Contract from TypeScript
#### Calling the contract from TypeScript
To call this hello function from a TypeScript application, you can use the [@massalabs/massa-web3](https://github.com/massalabs/massa-web3) library to serialize the argument and handle the response. Here's a quick example:

```ts
Expand Down

0 comments on commit c7baab2

Please sign in to comment.