parameters: ()
return_statement: return success_response(transaction_status)
docstring: Returns whether a transaction 'PASSED' | 'FAILED' | 'NOT_FOUND'
      based on all 3 query params 'blocknumber', 'blockhash', and 'transactionhash'
docstring_summary: Returns whether a transaction 'PASSED' | 'FAILED' | 'NOT_FOUND'
      based on all 3 query params 'blocknumber', 'blockhash', and 'transactionhash'
docstring_tokens: Returns whether a transaction PASSED | FAILED | NOT_FOUND based on all 3 query params blocknumber blockhash and transactionhash
function: def check_transaction_status():
      """
      Returns whether a transaction 'PASSED' | 'FAILED' | 'NOT_FOUND'
      based on all 3 query params 'blocknumber', 'blockhash', and 'transactionhash'
      """
      blocknumber = request.args.get("blocknumber", type=int)
      blockhash = request.args.get("blockhash")
      transactionhash = request.args.get("transactionhash")
      if blocknumber is None or blockhash is None or transactionhash is None:
          return error_response(
              "Please pass in required query parameters 'blocknumber', 'blockhash', and 'transactionhash'",
              400,
          )
      try:
          transaction_status = get_transaction_status(
              blocknumber, blockhash, transactionhash
          )
      except Exception as e:
          return error_response(e)
      return success_response(transaction_status)
function_tokens: def check_transaction_status ( ) : blocknumber = request . args . get ( "blocknumber" , type = int ) blockhash = request . args . get ( "blockhash" ) transactionhash = request . args . get ( "transactionhash" ) if blocknumber is None or blockhash is None or transactionhash is None : return error_response ( "Please pass in required query parameters 'blocknumber', 'blockhash', and 'transactionhash'" , 400 , ) try : transaction_status = get_transaction_status ( blocknumber , blockhash , transactionhash ) except Exception as e : return error_response ( e ) return success_response ( transaction_status )