- Assuming Bech32 (bc1...) transaction
A typical bech32 transaction should be roughly 110 vbytes, assuming 1 input and 1 output. Add the size of your OP_return message as well, that'll be roughly 190vbytes, give or take. Your fees should not be below 190 satoshi, if you want a confirmation anytime soon you would probably be looking at ~ 2290vbytes , deduct the transaction fees from the inputs and you would be left with the change that you should have. If it's below 294 satoshis, you should probably just omit it completely.
That being said, please do not craft the raw transaction yourself if you're not familiar with what you're doing. If you want, using a utility like Coinb.in to craft it and validate using your Bitcoin Core client would probably be more suitable. If you're just looking to experiment with it, either use regtest or Testnet.
already figured it out, thanks.