once the boat was securely moored , john called out to the nearest quayside official and paid for three nights ' berth in advance though what he handed over looked like a couple of glittering gemstones rather than any coin known in the empire .