Whats the differrence between transfer where user pays gas and where contract pays gas

Is there any differences, in moralis code or is this all on the contract end ?

this is all dependent on the smart contract code