While I was exploring near-sdk-as I did not find any function / APIs in sdk to send near tokens to caller of the smart contract. I am curious if there is any function to do what I have mentioned or am I missing something ?
Asked
Active
Viewed 102 times
1 Answers
0
I'm not an expert when it comes to assembly script but it looks like what you can do is create a ContractPromiseBatch
and then invoke the .transfer
function as shown in this example here:

Benjamin Kurrek
- 1,044
- 3
- 14