title: How can I return an array of integers from Solana rust program function to front end?
body: <p>I don't know how can I write a smart contract in Solana that after executing the logic, returns an array of integers, strings, ... to the client, and how can I fetch it using Web3?</p>