getting rateId for transaction