Yep! They are optimistically cached by the gateway until they are confirmed on the blockchain, then they are immutable/permanent.