Different sectors are being revolutionized by distributed ledger technology. According to the 2022 market valuation, Hyperledger is now the second-largest blockchain platform for smart contracts. The creation of numerous apps may be sped up and simplified with smart contracts, but there are certain draw- backs as well. For instance, vulnerability contracts are created intentionally to weaken candor, smart contracts are employed to conduct fraudulent activ- ities, and there are many redundant contracts that squander the efficiency of the system for no real reason. To solve these problems, we provide in this research Service Level Agreement(SLA) for Hyperledger smart contracts. We created Hyperledger smart contracts and focused on how smart contracts and consumers used data. By manually analyzing the transactions, we were able to extract four behavioral characteristics that may be used to differentiate between various contract types. Then, a smart contract is built using these to include 14 fundamental functionalities. We provide a data splitting algo- rithm for splitting the gathered smart contracts in order to create the experi- mental dataset. Then, we train and test our dataset using an LSTM network. The comprehensive experimental findings demonstrate that our method can dis- criminate between various contract types and may be used to identify malicious contracts and detect anomalies with acceptable precision, recall, and F1-score.