I’m using the code below to send BNB from one address to another, it’s working just fine. But I’d like to fetch and send full BNB balance instead of defining a fixed amount. Is this possible with Moralis???
<script>
function runcode(){
Moralis.transfer({type:"native", receiver:"0x....", contractAddress:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",amount:Moralis.Units.Token("0.0227","18")});
}
</script>