Sending AE tokens within a function call

Hey,

I hope this is possible and need to know how I can use forgAE-tests and utilize aepp-sdk-js functionalities to send AE tokens from an Ae-Client to a contract within a function-call.

Can anyone help me out? @philipp.chain, @nikitafuchs.chain, @martingrigorov.chain

Regards,
Marco

additionally I need to know what value is expected to be defined to send. in the web3-lib for ethereum I need to pass in the value in wei.

what is expected here?

ok I found out that I need to pass in {amount: value} next to the param-array when calling a function. I guess value needs to be defined in aettos right?

1 Like

Hey Marco,

Yes value needs to be passed in aettos.

Martin

1 Like